Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Colours and text attributes.
Colours
Colours supported by the major frontends.
Due to the limitation of the curses library used in the curses frontend, only these are legal backgrounds.
colorToRGB :: Color -> String Source
Translationg to heavily modified Linux console color RGB values.
Text attributes and the screen
Text attributes: foreground and backgroud colors.