def tint(col, factor=<NUM_LIT:1.0>):
<EOL>rgb = numpy.array(to_rgb(col), ndmin=<NUM_LIT:3>)<EOL>hsv = colors.rgb_to_hsv(rgb)<EOL>hsv[-<NUM_LIT:1>][-<NUM_LIT:1>][<NUM_LIT:2>] *= factor<EOL>return colors.hsv_to_rgb(hsv)[-<NUM_LIT:1>][-<NUM_LIT:1>]<EOL>
Tint a color (make it darker), returning a new RGB array