JuliaGraphics / ColorTypes.jl

Basic color definitions and traits
Other
77 stars 35 forks source link

Add Oklab perceptual color space #271

Closed nealmckee closed 11 months ago

nealmckee commented 2 years ago

Implements the Oklab color space as described here: https://bottosson.github.io/posts/oklab/

Adds and exports the type. Adds Oklab and LCHOklab to the chroma and hue trait accessor functions. Adds description to the readme.

This is my first contribution to Julia, or any software package for that matter, so help with any oversights would be greatly appreciated. (Am I missing tests for example? They weren’t mentioned in the guidelines on how to extend color types.)

See also https://github.com/JuliaGraphics/Colors.jl/pull/518

tecosaur commented 1 year ago

@nealmckee is there a reason why this is still a draft PR?

timholy commented 11 months ago

Superseded by #291