3 ms·
If you want to interpolate between colors, anything-RGB is wrong, even for the best value of "anything". You want the LAB space, or something along those lines.
by kazinator 9y ago
If you want to interpolate between colors, anything-RGB is wrong, even for the best value of "anything". You want the LAB space, or something along those lines.
If we interpolate between one RGB color to another color of equal intensity, the intensity along the interpolation will not be constant.
- mark-r 9y agoThe gradient from pure red to pure green in linear RGB space isn't bad at all. The problem comes when you interpolate between endpoints of different intensities. LAB isn't perfect either. Depending on your endpoints it can transition through colors that are hardly related.
- 05greg 9y agoYeah it seems like you'd want to interpolate along an equiluminant plane using a colourspace that separates chrominance and luminance (and is ideally perceptually uniform)