Skip to content

Instantly share code, notes, and snippets.

@xxx
Created March 31, 2011 03:58
Show Gist options
  • Select an option

  • Save xxx/895787 to your computer and use it in GitHub Desktop.

Select an option

Save xxx/895787 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
1.upto(256) do |n|
puts "#{n}: \e[38;5;#{n}mcool\e[0m"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment