Here's a Python script that will output a grid of color samples in HTML by parsing the generated color list above.
Copy the color list exactly as-is to a text file. Save these code as separate file called foo.py. Then do:
python foo.py >samples.html and view the result in a browser.

a list in YAML format where first item contains color that is used when you set ctermbg=0, second for ctermbg=1 and so on. Requires imagemagick, its perl bindings and, optionally, xdotool (and mercurial to clone the repository). Usage: