Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- rgbColorToColor240 :: Integral i => i -> i -> i -> Word8
- color240CodeToRGB :: Word8 -> Maybe (Int, Int, Int)
Documentation
rgbColorToColor240 :: Integral i => i -> i -> i -> Word8 Source #
Create a value in the Color240 set from an RGB triple. This maps the input arguments to an entry in the 240-color palette depicted at: