-
Notifications
You must be signed in to change notification settings - Fork 0
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
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
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 <[email protected]> 2005-10-30 | | Original: 256colors2.pl by Todd Larason <[email protected]> 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 0
No packages published