colorful
Version, currently 0.1.01 version
- 0.1.0latestMar 10, 2017
github.com/icyleaf/colorful.cr
**Unmaintained** Colors in your terminal writes with Crystal Language.
2 stars
1 dependent
License: MIT
Installation
# Add this to your shard.yml
dependencies:
colorful:
github: icyleaf/colorful.cr
version: ~> 0.1.0Then run:
shards installshard.yml
- Crystal
0.20.1- License
- MIT
- Author
- icyleaf
Dependencies
This version declares no dependencies.
README
colorful.cr
Colors in your terminal writes with Crystal Language, inspired from colored.
Build in crystal version >= v0.20.1 (2016-12-05), Docs Generated in latest commit.
Installation
Add this to your application's shard.yml:
dependencies:
colorful:
github: icyleaf/colorful.cr
Usage
require "colorful"
# color examples
puts "green".green
puts "on_blue".on_blue
puts "black_on_white".black_on_white # same as black.on_white
puts "yellow_with_bold".yellow_with_bold # same as yellow.bold
puts "on_magenta_with_italic".on_magenta_with_italic # same as on_magenta.italic
puts "red_on_cyan_with_italic".red_on_cyan_with_italic # same as red.on_cyan.italic
puts "bule_on_white_with_underline".colorful({ "background" => "blue", "foreground" => "white", "mode" => "underline" })
# dump colors & modes
puts Colorful.colors
puts Colorful.modes
Contributing
- Fork it ( https://github.com/icyleaf/colorful.cr/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- [icyleaf] icyleaf - creator, maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.0- Tagged
- Mar 10, 2017
- Commit
556e12ead11d- Crystal
0.20.1- Indexed
- yes
Dependents
Repository
github.com/icyleaf/colorful.cr
Metadata
- Created
- Aug 19, 2026
- Updated
- Sep 22, 2026
- Synced
- Sep 22, 2026
- Versions
- 1