newmana/chroma-elm/18.2.1

Chroma.Ops.Numeric

Extensions to the Color library

Definition

num : ExtColor -> Int

Numeric representation of RGB.

Color.num (Types.RGBAColor (Color.rgb255 192 192 192))
--> 12632256 : Int
calcDistance : Nonempty Float -> Nonempty Float -> Float

TBD

colorToInt : Color -> Int

TBD

intToColor : Int -> Color

TBD