Page 1 of 1

discrete color scales

Posted: Tue Dec 10, 2024 3:17 pm
by pmr
Hi,
Is it possible to create a discrete color scale in CC? I mean, not a color ramp, but a set of distinct colors for integer values of the represented variable?
Thanks in advance

Re: discrete color scales

Posted: Tue Dec 10, 2024 7:20 pm
by daniel
Yes, there are similar posts on this forum. You have to trick the linear interpolation, and define 2 color steps very close for each transition:
0 --> 0.9999 in blue
1.0 --> 1.9999 in green
2.0 --> 2.9999 in orange
etc.