newmana/chroma-elm/13.3.0

NOTE: the latest version is 18.2.1

Chroma.Ops.Luminance

Get/Set the luminance a color value and calculate the WCAG contrast ratio.

Definition

luminance : ExtColor -> Float

Luminance

contrast : ExtColor -> ExtColor -> Float

WCAG Contrast

Set Luminance