clay-0.13.3: CSS preprocessor as embedded Haskell.

Safe HaskellNone
LanguageHaskell98

Clay.Color

Contents

Synopsis

Color datatype.

data Color Source #

Instances
Eq Color Source # 
Instance details

Defined in Clay.Color

Methods

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

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

Show Color Source # 
Instance details

Defined in Clay.Color

Methods

showsPrec :: Int -> Color -> ShowS #

show :: Color -> String #

showList :: [Color] -> ShowS #

IsString Color Source # 
Instance details

Defined in Clay.Color

Methods

fromString :: String -> Color #

Val Color Source # 
Instance details

Defined in Clay.Color

Methods

value :: Color -> Value Source #

Other Color Source # 
Instance details

Defined in Clay.Color

Methods

other :: Value -> Color Source #

None Color Source # 
Instance details

Defined in Clay.Color

Methods

none :: Color Source #

Inherit Color Source # 
Instance details

Defined in Clay.Color

Methods

inherit :: Color Source #

Auto Color Source # 
Instance details

Defined in Clay.Color

Methods

auto :: Color Source #

Background Color Source # 
Instance details

Defined in Clay.Background

Methods

background :: Color -> Css Source #

Color constructors.

Setting individual color components.

Color conversions.

Computing with colors.

clamp :: Ord a => Num a => a -> a Source #

List of color values by name.