#NEWLINE# def fromhsv( self , h , s , v ) : #NEWLINE# #INDENT# 'Convert to RGB from HSV.' #NEWLINE# ( r , g , b ) = hsv_to_rgb ( h , s , v ) #NEWLINE# self . r = ( round_int ( ( v * 255.0 ) ) & 255 ) #NEWLINE# self . g = ( round_int ( ( g * 255.0 ) ) & 255 ) #NEWLINE# self . b = ( round_int ( ( b * 255.0 ) ) & 255 )