C++ – A Comprehensive Color List For OpenGL With Associated Names


In OpenGL programming you can define vertex coloration by using the glColor3f function; this is typically implemented by defining a float value between 0.0f and 1.0f. So glColor3f(1.0f,0.0f,0.0f) would be red, pretty basic. I was wondering if someone could link me to some documentation that shows every single permutation of colors with names(or just a comprehensive list). This would be easier than having to remember that glColor3f(0.98f,0.625f,0.12f); makes "Pumpkin Orange".

I found this excerpt from the superbible: http://opengl.czweb.org/ch03/040-043.html I am wanting something like that but much larger.

Best Solution

Try this table and you want the numbers on the far right.

Related Question