## Generating all possible rgb colors

问题 It seems like it'd be much simpler than it is, but what can be done to generate all 16,777,255 rgb colors with python? 回答1: Colors are usually represented as hexadecimal numbers which are actually just integers. So a simple loop from 0 to 16,777,215 (0xFFFFFF) would be enough to generate all 24