X11 Color Space

X11 Color Space


This page contains a few Python programs that work with and display the X11 color space.

color_space.py

Displays the named X11 colors as spheres in RGB space. The user can zoom and rotate the color cube. Clicking on a sphere prints the color names and attaches a label.

Here is a screen shot looking down the white-black axis:

And here is the documentation.

color_list.py

Read the X11 color list from rgb.txt (wherever it may be hiding) and returns the information in two data structures. Here is the documentation.

color_grid.py

Read the X11 color grid from rgb.txt (wherever it may be hiding) and returns the information in two data structures. Here is the documentation. This program requires Swampy.