Lighthouse.Utils.Color
data Color Source #
An RGB color.
Constructors
Defined in Lighthouse.Utils.Color
Methods
showsPrec :: Int -> Color -> ShowS #
show :: Color -> String #
showList :: [Color] -> ShowS #
(==) :: Color -> Color -> Bool #
(/=) :: Color -> Color -> Bool #
serialize :: Color -> ByteString Source #
randomR :: RandomGen g => (Color, Color) -> g -> (Color, g)
random :: RandomGen g => g -> (Color, g)
randomRs :: RandomGen g => (Color, Color) -> g -> [Color]
randoms :: RandomGen g => g -> [Color]
black :: Color Source #
gray :: Color Source #
white :: Color Source #
red :: Color Source #
green :: Color Source #
blue :: Color Source #
yellow :: Color Source #
magenta :: Color Source #
cyan :: Color Source #