Skip to content

Instantly share code, notes, and snippets.

@jphager2
Created December 1, 2015 09:39
Show Gist options
  • Save jphager2/d89e76645cc70f207b29 to your computer and use it in GitHub Desktop.
Save jphager2/d89e76645cc70f207b29 to your computer and use it in GitHub Desktop.
Print out color codes
1.upto(107) do |code|
puts "code: #{code} => \033[#{code}mHello, Sexy!\033[0m"
end
# Cool Codes
# 5 => Flashing text =p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment