def colorx(clip, factor):
 return clip.fl_image((lambda pic: np.minimum(255, (factor * pic)).astype('uint8')))

def colorx ( clip , factor ) : return clip . fl_image ( ( lambda pic : np . minimum ( 255 , ( factor * pic ) ) . astype ( 'uint8' ) ) )
multiplies the clips colors by the given factor .