This package implements the Oklch and Oklab color spaces for Elm.
It allows conversion from and to the Color
type in avh4/elm-color.
See some end-to-end example code in the examples/
folder.
import Color exposing (Color)
import Color.Oklch
myColor : Color
myColor =
Color.Oklch.oklch 1 0.1 0.75
|> Color.Oklch.toColor