ColorPuts

Color your output with inline color codes.

Installation

Add this line to your application's Gemfile:

gem 'color_puts'

Usage

Example:

  include ColorPuts

  cputs "There was a %green{field} and %blue{sky}."

Colors

List of colors names:

  black
  dblue
  dgreen
  dcyan
  dred
  dpurple
  dgray
  brown
  gray
  blue
  green
  cyan
  red
  purple
  yellow
  white

Contributing

Contributions are welcome!