def glColor(*args, **kargs):
 c = mkColor(*args, **kargs)
 return ((c.red() / 255.0), (c.green() / 255.0), (c.blue() / 255.0), (c.alpha() / 255.0))

def glColor ( * args , ** kargs ) : c = mkColor ( * args , ** kargs ) return ( ( c . red ( ) / 255.0 ) , ( c . green ( ) / 255.0 ) , ( c . blue ( ) / 255.0 ) , ( c . alpha ( ) / 255.0 ) )
convert a color to opengl color format floats 0 .