Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- black :: String -> String
- red :: String -> String
- green :: String -> String
- yellow :: String -> String
- blue :: String -> String
- magenta :: String -> String
- cyan :: String -> String
- white :: String -> String
- bblack :: String -> String
- bred :: String -> String
- bgreen :: String -> String
- byellow :: String -> String
- bblue :: String -> String
- bmagenta :: String -> String
- bcyan :: String -> String
- bwhite :: String -> String
Normal colors
Note that the coloring is actually just ANSI escaping text in a right way, so apllying these functions changes the length of the string.
Also, the actual colors are dependant on your terminal's colorscheme, so they may look differently on your terminal
white :: String -> String Source #
Colors the given text in white (important because of the length change)
Vivid colors
Same as normal colors, but are more vivid (or what your colorscheme considers to be more vivid)