def test_rgb_to_hsl_part_12():
 assert (rgb_to_hsl(153, 102, 153) == (300, 20, 50))
 assert (rgb_to_hsl(204, 51, 204) == (300, 60, 50))
 assert (rgb_to_hsl(255, 0, 255) == (300, 100, 50))

def test_rgb_to_hsl_part_12 ( ) : assert ( rgb_to_hsl ( 153 , 102 , 153 ) == ( 300 , 20 , 50 ) ) assert ( rgb_to_hsl ( 204 , 51 , 204 ) == ( 300 , 60 , 50 ) ) assert ( rgb_to_hsl ( 255 , 0 , 255 ) == ( 300 , 100 , 50 ) )
test rgb to hsl color function .