How to Convert from RGB 255 to OpenGL Float Color

Hi,
You can use glColor3ub instead. Or simply compute the float color as (float)ubyte_color / 255.0f.