omgovich / colord

👑 A tiny yet powerful tool for high-performance color manipulations and conversions
https://colord.omgovich.ru
MIT License
1.63k stars 48 forks source link

Setting absolute values for LCH #105

Open punund opened 1 year ago

punund commented 1 year ago

One can manipulate LCH components relative to the current color:

color.rotate(5)
color.lighten(0.1)
color.saturate(0.2)

Of those one can directly set the H:

color.hue(200)

So why not L and C?


color.lightness(80)
color.saturation(35)