vty-5.33: A simple terminal UI library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Graphics.Vty.Attributes.Color240

Synopsis

Documentation

rgbColorToColor240 :: Integral i => i -> i -> i -> Word8 Source #

Create a value in the Color240 set from an RGB triple

color240CodeToRGB :: Word8 -> Maybe (Int, Int, Int) Source #

Create a RGB triple from a value in the Color240 set.