1# coding=utf-8 2from color_lesssaturation import LessSaturation 3from .test_inkex_extensions import ColorBaseCase 4 5class ColorLessSaturationTest(ColorBaseCase): 6 effect_class = LessSaturation 7 color_tests = [ 8 ("none", "none"), 9 ('hsl(0, 0, 0)', 'hsl(0, 0, 0)'), 10 ('hsl(255, 255, 255)', 'hsl(255, 243, 255)'), 11 ((0, 0, 0), "#000000"), 12 ((255, 255, 255), "#ffffff"), 13 ((192, 192, 192), "#c0c0c0"), 14 ((128, 128, 128), "#808080"), 15 ((128, 0, 0), "#7c0303"), 16 ((255, 0, 0), "#f80505"), 17 ((128, 128, 0), "#7c7b03"), 18 ((255, 255, 0), "#f8f505"), 19 ((0, 128, 0), "#037c03"), 20 ((0, 255, 0), "#05f805"), 21 ((0, 128, 128), "#037c7b"), 22 ((0, 255, 255), "#05f8f5"), 23 ((0, 0, 128), "#03037c"), 24 ((0, 0, 255), "#0505f8"), 25 ((128, 0, 128), "#7b037c"), 26 ((255, 0, 255), "#f505f8"), 27 ] 28