Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A simple library to colorize console output

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 project.clj
README.md

colorize

A simple library to color string output with ansi-codes.

Usage

(use 'colorize.core)

(color :red "hey " "what's up")
(red "hi!")
(cyan "what's " (green "going on?"))
(cyan-bg "blah")
(underline (bold "cool"))

;;Available commands:
[reset default white black red green blue yellow magenta cyan
 black-bg red-bg green-bg yellow-bg blue-bg magenta-bg cyan-bg white-bg
 underline italic bold strikethrough inverse]

License

Copyright (C) 2011 Chris Granger

Distributed under the Eclipse Public License, the same as Clojure.

Something went wrong with that request. Please try again.