Last active
February 3, 2016 14:00
-
-
Save LolWalid/844341a919c6187c7c3b to your computer and use it in GitHub Desktop.
Coloryze your terminal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def color_code | |
colors_code = %w(1;32 0;32 0;36 1;36 1;37 0;37 1;30 0;30 0;34 1;34 0;35 1;35 0;31 1;31 0;33 1;33) | |
colors_code.each do |color| | |
puts "#{color} : \033[#{color}m color \033[0;30m" | |
end | |
nil | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment