Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Color
- rgba :: Integer -> Integer -> Integer -> Float -> Color
- rgb :: Integer -> Integer -> Integer -> Color
- hsla :: Integer -> Float -> Float -> Float -> Color
- hsl :: Integer -> Float -> Float -> Color
- grayish :: Integer -> Color
- transparent :: Color
- setR :: Integer -> Color -> Color
- setG :: Integer -> Color -> Color
- setB :: Integer -> Color -> Color
- setA :: Float -> Color -> Color
- toRgba :: Color -> Color
- toHsla :: Color -> Color
- (*.) :: Color -> Integer -> Color
- (+.) :: Color -> Integer -> Color
- (-.) :: Color -> Integer -> Color
- clamp :: Ord a => Num a => a -> a
- lighten :: Float -> Color -> Color
- darken :: Float -> Color -> Color
- lerp :: Float -> Color -> Color -> Color
- parse :: Text -> Color
- aliceblue :: Color
- antiquewhite :: Color
- aqua :: Color
- aquamarine :: Color
- azure :: Color
- beige :: Color
- bisque :: Color
- black :: Color
- blanchedalmond :: Color
- blue :: Color
- blueviolet :: Color
- brown :: Color
- burlywood :: Color
- cadetblue :: Color
- chartreuse :: Color
- chocolate :: Color
- coral :: Color
- cornflowerblue :: Color
- cornsilk :: Color
- crimson :: Color
- cyan :: Color
- darkblue :: Color
- darkcyan :: Color
- darkgoldenrod :: Color
- darkgray :: Color
- darkgreen :: Color
- darkgrey :: Color
- darkkhaki :: Color
- darkmagenta :: Color
- darkolivegreen :: Color
- darkorange :: Color
- darkorchid :: Color
- darkred :: Color
- darksalmon :: Color
- darkseagreen :: Color
- darkslateblue :: Color
- darkslategray :: Color
- darkslategrey :: Color
- darkturquoise :: Color
- darkviolet :: Color
- deeppink :: Color
- deepskyblue :: Color
- dimgray :: Color
- dimgrey :: Color
- dodgerblue :: Color
- firebrick :: Color
- floralwhite :: Color
- forestgreen :: Color
- fuchsia :: Color
- gainsboro :: Color
- ghostwhite :: Color
- gold :: Color
- goldenrod :: Color
- gray :: Color
- green :: Color
- greenyellow :: Color
- grey :: Color
- honeydew :: Color
- hotpink :: Color
- indianred :: Color
- indigo :: Color
- ivory :: Color
- khaki :: Color
- lavender :: Color
- lavenderblush :: Color
- lawngreen :: Color
- lemonchiffon :: Color
- lightblue :: Color
- lightcoral :: Color
- lightcyan :: Color
- lightgoldenrodyellow :: Color
- lightgray :: Color
- lightgreen :: Color
- lightgrey :: Color
- lightpink :: Color
- lightsalmon :: Color
- lightseagreen :: Color
- lightskyblue :: Color
- lightslategray :: Color
- lightslategrey :: Color
- lightsteelblue :: Color
- lightyellow :: Color
- lime :: Color
- limegreen :: Color
- linen :: Color
- magenta :: Color
- maroon :: Color
- mediumaquamarine :: Color
- mediumblue :: Color
- mediumorchid :: Color
- mediumpurple :: Color
- mediumseagreen :: Color
- mediumslateblue :: Color
- mediumspringgreen :: Color
- mediumturquoise :: Color
- mediumvioletred :: Color
- midnightblue :: Color
- mintcream :: Color
- mistyrose :: Color
- moccasin :: Color
- navajowhite :: Color
- navy :: Color
- oldlace :: Color
- olive :: Color
- olivedrab :: Color
- orange :: Color
- orangered :: Color
- orchid :: Color
- palegoldenrod :: Color
- palegreen :: Color
- paleturquoise :: Color
- palevioletred :: Color
- papayawhip :: Color
- peachpuff :: Color
- peru :: Color
- pink :: Color
- plum :: Color
- powderblue :: Color
- purple :: Color
- red :: Color
- rosybrown :: Color
- royalblue :: Color
- saddlebrown :: Color
- salmon :: Color
- sandybrown :: Color
- seagreen :: Color
- seashell :: Color
- sienna :: Color
- silver :: Color
- skyblue :: Color
- slateblue :: Color
- slategray :: Color
- slategrey :: Color
- snow :: Color
- springgreen :: Color
- steelblue :: Color
- tan :: Color
- teal :: Color
- thistle :: Color
- tomato :: Color
- turquoise :: Color
- violet :: Color
- wheat :: Color
- white :: Color
- whitesmoke :: Color
- yellow :: Color
- yellowgreen :: Color
Color datatype.
Instances
Eq Color Source # | |
Show Color Source # | |
IsString Color Source # | |
Defined in Clay.Color fromString :: String -> Color # | |
Val Color Source # | |
Other Color Source # | |
None Color Source # | |
Defined in Clay.Color | |
Inherit Color Source # | |
Defined in Clay.Color | |
Auto Color Source # | |
Defined in Clay.Color | |
Background Color Source # | |
Defined in Clay.Background background :: Color -> Css Source # |
Color constructors.
transparent :: Color Source #
Setting individual color components.
Color conversions.
Computing with colors.
List of color values by name.
antiquewhite :: Color Source #
aquamarine :: Color Source #
blueviolet :: Color Source #
chartreuse :: Color Source #
darkmagenta :: Color Source #
darkorange :: Color Source #
darkorchid :: Color Source #
darksalmon :: Color Source #
darkseagreen :: Color Source #
darkviolet :: Color Source #
deepskyblue :: Color Source #
dodgerblue :: Color Source #
floralwhite :: Color Source #
forestgreen :: Color Source #
ghostwhite :: Color Source #
greenyellow :: Color Source #
lemonchiffon :: Color Source #
lightcoral :: Color Source #
lightgreen :: Color Source #
lightsalmon :: Color Source #
lightskyblue :: Color Source #
lightyellow :: Color Source #
mediumblue :: Color Source #
mediumorchid :: Color Source #
mediumpurple :: Color Source #
midnightblue :: Color Source #
navajowhite :: Color Source #
papayawhip :: Color Source #
powderblue :: Color Source #
saddlebrown :: Color Source #
sandybrown :: Color Source #
springgreen :: Color Source #
whitesmoke :: Color Source #
yellowgreen :: Color Source #