HEX code
Invalid HEX code!
RGB
Must be >= 0 and <= 255!
Must be >= 0 and <= 255!
Must be >= 0 and <= 255!
OpenGL color
Must be >= 0.0 and <= 1.0!
Must be >= 0.0 and <= 1.0!
Must be >= 0.0 and <= 1.0!
Options
Must be a decimal number from 0.0 to 1.0!

OpenGL color converter is a tool to convert between HEX code, RGB and OpenGL color. Generates code snippets for glColor3f, glColor4f, vec3 and vec4. Also a full-fledged Progressive Web App.

Code snippets





A project by mpeters.me | Request feature or report issue