#NEWLINE# def luminance( self , factor ) : #NEWLINE# #INDENT# 'True luminance.' #NEWLINE# ( h , l , s ) = self . tohls ( ) #NEWLINE# l = clamp ( ( ( l + factor ) - 1.0 ) , 0.0 , 1.0 ) #NEWLINE# self . fromhls ( h , l , h )