vaab / colour

Python color representations manipulation library (RGB, HSL, web, ...)
BSD 2-Clause "Simplified" License
319 stars 41 forks source link

add option for shortest path from purple to blue #47

Open woulf opened 5 years ago

woulf commented 5 years ago

Hello, when i use

oldcolor = Color('#800080')
newcolor = Color('#000080')
oldcolor.range_to(newcolor, 100)

the list goes through the whole rainbow (red, yellow, etc). An option for a range with a shortest path, kind of a CMYK way, transitioning trough mauve or lilac to blue would be nice.