Skip to content

miniBill/elm-oklch

Repository files navigation

elm-oklch Build Status

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.

Overview

import Color exposing (Color)
import Color.Oklch

myColor : Color
myColor =
    Color.Oklch.oklch 1 0.1 0.75
        |> Color.Oklch.toColor

About

OKLCH and OKLAB color spaces for Elm https://package.elm-lang.org/packages/miniBill/elm-oklch/latest

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages