termcolor: Composable terminal colors

[ gpl, library, program, web ] [ Propose Tags ]
Dependencies base (>=4.7 && <5), cli (>=0.1.2 && <1), termcolor [details]
License GPL-3.0-only
Copyright 2017 Mahdi Dibaiee
Author Mahdi Dibaiee
Maintainer mahdi@theread.me
Category Web
Home page https://github.com/mdibaiee/termcolor#readme
Source repo head: git clone https://github.com/mdibaiee/termcolor
Uploaded by mdibaiee at Thu Mar 30 12:23:47 UTC 2017
Distributions LTSHaskell:, NixOS:, openSUSE:
Executables termcolor
Downloads 405 total (9 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-03-30 [all 1 reports]
Hackage Matrix CI

Composable terminal colors

[Skip to Readme]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for termcolor-

[back to package description]


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