yup/ruby-256-color-demo
Two-hundred and fifty six colors in your Unix terminal, you ask? Yes, it’s possible, but 256-color support isn’t very common among the terminal emulators out there (Konsole and Gnome-Terminal don’t support it yet). And elinks is the only program I know of that supports 256 colors natively. So, here’s a little Ruby program that generates 256-color color cubes in Ruby. I’ve translated it from a Perl script, so it’s not very ruby-like, but it makes pretty pictures.
GitHub repository with 5 stars and 0 forks.
Language: Ruby