To do this, I decided to treat the RGB color as a 3-digit, base-255 number, then just incrementingincrement each channel as though I was counting (increment the rightmost channel until it gets to 255, then make it 0 and increment the channel to the left). I used this for a previous project, and although it's slow, it was acceptable.
added 71 characters in body; added 3 characters in body; added 117 characters in body; added 2 characters in body
Carcigenicate
- 16.3k
- 3
- 35
- 80