#NEWLINE# def __set__( self , instance , value ) : #NEWLINE# #INDENT# m = aRGB_REGEX . match ( value ) #NEWLINE# if ( m is None ) : #NEWLINE# #INDENT# raise ValueError ( 'Colors must be aRGB hex values' ) #NEWLINE# #UNINDENT# if ( len ( value ) == 6 ) : #NEWLINE# #INDENT# value = ( '00' + value ) #NEWLINE# #UNINDENT# super ( RGB , self ) . __set__ ( instance , value )