QiTASC / hatchinq / Hatchinq.Color

Exposed


type Color

alpha : Color -> Basics.Float

blue : Color -> Basics.Int

green : Color -> Basics.Int

isBrighter : Color -> Color -> Basics.Bool

isDarker : Color -> Color -> Basics.Bool

red : Color -> Basics.Int

rgb : Basics.Int -> Basics.Int -> Basics.Int -> Color

rgba : Basics.Int -> Basics.Int -> Basics.Int -> Basics.Float -> Color

toElement : Color -> Element.Color

withAlpha : Basics.Float -> Color -> Color

textColor : Color -> Color