GPL-3.0-only licensed by Mahdi Dibaiee
Maintained by [email protected]
This version can be pinned in stack with:termcolor-0.2.0.0@sha256:944b11ff360d9d419d5ddf3c3c043d848ec295ffacea180f7354f375ae0a0f23,1176
Depends on 3 packages(full list with versions):
Used by 1 package in lts-11.22(full list with versions):

termcolor

Composable terminal colors for Haskell.

import Text.Termcolor
import Text.Termcolor.Style
import qualified Text.Termcolor.Foreground as F
import qualified Text.Termcolor.Background as B

main = putStrLn . format . underline . bold . (light . B.cyan) . (F.red) $ read "Hello World!"

demo output