Although we are using the HSV model for establishing our color, OpenGL works only with the RGB model. Therefore, the class HSV provides the function getRGB() that converts the HSV color to its equivalent RGB color. The function returns a pointer to an array of three floats holding respectively the red, green and blue components of the converted color.