Photoshop to glcolor4f

Hi
how to translate Gimp/Photoshop rgb colors for use with glcolor4f? Simply divide by 255?
Thanks
Michael

yes.
or use directly your existing values in glColor3ub();