Is there any way to organize all possible colors of an NSColor into a "rainbow", so that to go through the colors requires just one number instead of rg and b?
So instead of
color 255,0,0
I could do 1
for instance.
I'm thinking maybe if I do some array thing... but I don't know where to even begin.
So instead of
color 255,0,0
I could do 1
for instance.
I'm thinking maybe if I do some array thing... but I don't know where to even begin.