Dynamically creating Color Swatches

So, I have to do this drawing application, and I want to integrate almost as much colors as Flash has, in it’s standard swatch picking thingy, i.e 18x12 = 216 swatches. In other words, A LOT of them :slight_smile:

The only idea I’ve come up with is creating an array of colors, but…this requires me to note down 216 different hexa codes and then writing them into an array. I may be lazy, but this sounds really tedious and annoying, really.

Is there a way to work around this hard-coding session? If not, I’d better get moving :slight_smile:

Thanks for reading, and Cheers!