Skip to content

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-colo…

yup/ruby-256-color-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

+----------------------------------------------------------------------------+
| This program shows 256-color support in xterm-compliant terminals. You may |
| notice some flickering while the color codes are mapped in your terminal.  |
| Please resize your terminal to at least the width of this box. Try this:   |
| xterm -fg beige -bg midnightblue -fa "antialias=true:rgba=0:pixelsize=18"  |
+-------------+--------------------------------------------------------------+
| Color Range | Description                                                  |
+-------------+--------------------------------------------------------------+
|  000 - 015  | Standard ANSI colors, but with more pleasing shades          |
|  016 - 231  | 6x6x6 color cube                                             |
|  232 - 255  | Greyscale ramp, with black and white intentionally omitted   |
+-------------+--------------------------------------------------------------|
| Translation: 256colors.rb by Daniel Butler <yup.com@gmail.com>  2005-10-30 |
| Original: 256colors2.pl by Todd Larason <jtl@molehill.org> v1.1 1999-07-11 |
+----------------------------------------------------------------------------+

About

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-colo…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages