lighthouse-client-0.2.0.0: Project Lighthouse client SDK
Safe HaskellSafe-Inferred
LanguageHaskell2010

Lighthouse.Utils.Color

Synopsis

Documentation

data Color Source #

An RGB color.

Constructors

Color Int Int Int 

Instances

Instances details
Show Color Source # 
Instance details

Defined in Lighthouse.Utils.Color

Methods

showsPrec :: Int -> Color -> ShowS #

show :: Color -> String #

showList :: [Color] -> ShowS #

Eq Color Source # 
Instance details

Defined in Lighthouse.Utils.Color

Methods

(==) :: Color -> Color -> Bool #

(/=) :: Color -> Color -> Bool #

Serializable Color Source # 
Instance details

Defined in Lighthouse.Utils.Color

Random Color Source # 
Instance details

Defined in Lighthouse.Utils.Color

Methods

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]