termcolor: Composable terminal colors

[ gpl, library, program, web ] [ Propose Tags ]

Composable terminal colors

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],
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 2017-03-30T11:17:54Z
Distributions NixOS:
Executables termcolor
Downloads 1541 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-03-30 [all 1 reports]

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