waacton / Unicolour

🌈 Colour / Color conversion, interpolation, and comparison for .NET
https://unicolour.wacton.xyz
MIT License
52 stars 5 forks source link

Okhsv and Okhsl support #1

Closed bjornenalfa closed 5 months ago

bjornenalfa commented 7 months ago

Okhsv and Okhsl are HSV/HSL-like colour spaces built on the ideas from Oklab. They can are described in https://bottosson.github.io/posts/colorpicker/ including code for converting to and from sRGB.

Would these be interesting additions to the library?

waacton commented 7 months ago

Definitely, especially as HSLuv & HPLuv are already supported. I was waiting to see if they became more widely adopted (like Oklab & Oklch have), while focusing on other features in the meantime.

waacton commented 5 months ago

Okhsv and Okhsl (and Okhwb) implementations have been merged in 2c29ecf16102f1485c7512e056b93a7a6f2dda67 and are available in version 4.3.0 🙂