def rgb_css(color):
 return (u'rgb(%d, %d, %d)' % (color.red(), color.green(), color.blue()))

def rgb_css ( color ) : return ( u'rgb(%d, %d, %d)' % ( color . red ( ) , color . green ( ) , color . blue ( ) ) )
convert a qcolor into an rgb css string .