Safe Haskell | Safe-Inferred |
---|
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 -> StringSource
Translationg to heavily modified Linux console color RGB values.
Text attributes
Text attributes: foreground and backgroud colors.
The default attribute, to optimize attribute setting.