Projects / terminal_colors


terminal_colors is a tool to display a terminal color chart for 8, 16, 88, and 256 color terminals. It provides all the functionality of the various similar scripts found around the Web with some additional bells and whistles. It automatically detects 8, 16, 88, and 256 color capabilities (via ncurses) and displays the appropriate color charts. It can display the colors as blocks or (2D) cubes, optionally with color values overlaid in int or hex values. It can show the full rgb text string as well. It can also show the display with a vertical (default) or horizontal orientation. It has the option of additional padding and supports -h --help as well. It also works as a utility for converting between 256 and 88 color values.

Operating Systems

Recent releases

  •  14 Aug 2013 19:02

    Release Notes: This release adds a bugfix in 88 color long RGB displays.

    •  07 Aug 2013 20:56

      Release Notes: This release added an option for 16 color SGR ANSI charts.

      •  05 Aug 2013 02:11

        Release Notes: This release reworks the foreground text to use luminance as bases of contrast color. The Long/RGB format now defaults to the same format as others with color in the background. It also uses the compact-rgb format so it fits in a standard 80-column layout now. A new "foreground" option leaves the background color the terminal default and sets the text to the color.

        •  08 Apr 2013 07:11

          Release Notes: This release adds Python 3 compatibility.

          •  28 Feb 2012 18:58

            Release Notes: This release has a fix for a display issue with -cpz (horizontal cube with padding).

            Recent comments

            19 Nov 2010 03:18 eikenberry

            Available in Debian as the 'colortest-python' package.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.