Interpolating colours by lerping their RGB components is the most common and
lazy easy approach to tackle a very complex problem. If the interpolated colours need to be visible at the same time (for instance in a chart or a diagram) chances are you might need a more advance technique. Conversion from RGB to HSV are supported by most frameoworks, but if you want to go the extra mile you should adopt the LCH colour space.
This post was strongly inspired by the many works of Gregor Aisch.
- Part 1. How to Find the Main Colours in an Image
- Part 2. The Incredibly Challenging Task of Sorting Colours
- Part 3. Accessibility Design: Color Blindness
- Part 4. GameBarcode: A Study of Colours in Games