module

Term

Term::Color is a library for working with colors in Crystal. You can think of it as a more powerful version of Colorize. Term::Color allows you to easily convert RGB(A) values to hex and back again for use in CSS and HTML. It also provides a set of chainable methods for creating colorful strings for the terminal using truecolor.

For full usage instructions see the README.

Nested types