def test_saturate():
 assert (saturate('#000', 20) == '#000')
 assert (saturate('#fff', 20) == '#fff')
 assert (saturate('#8a8', 100) == '#3f3')
 assert (saturate('#855', 20) == '#9e3f3f')

def test_saturate ( ) : assert ( saturate ( '#000' , 20 ) == '#000' ) assert ( saturate ( '#fff' , 20 ) == '#fff' ) assert ( saturate ( '#8a8' , 100 ) == '#3f3' ) assert ( saturate ( '#855' , 20 ) == '#9e3f3f' )
test color saturation function .