From b6b366477dc92469772d2624c83c672c35595e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20L=C3=BCcke?= Date: Fri, 19 Mar 2021 20:12:13 +0100 Subject: [PATCH] =?UTF-8?q?Tests=20um=20weitere=20unregelm=C3=A4=C3=9Fige?= =?UTF-8?q?=20Farben=20erweitert.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Helper/ValidColorValuesProvider.php | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/tests/_support/Helper/ValidColorValuesProvider.php b/tests/_support/Helper/ValidColorValuesProvider.php index 9afe87e..cb80cbc 100644 --- a/tests/_support/Helper/ValidColorValuesProvider.php +++ b/tests/_support/Helper/ValidColorValuesProvider.php @@ -192,6 +192,24 @@ class ValidColorValuesProvider 'value' => 1.0, ], ], + 'dunkellachs' => [ + self::CMYK => [ + 'cyan' => 0.0, + 'magenta' => 0.54, + 'yellow' => 0.72, + 'key' => 0.30, + ], + self::RGB => [ + 'red' => 0.7, + 'green' => 0.3216, + 'blue' => 0.1961, + ], + self::HSV => [ + 'hue' => 0.0417, + 'saturation' => 0.72, + 'value' => 0.70, + ], + ], 'gold' => [ self::CMYK => [ 'cyan' => 0.0, @@ -210,6 +228,42 @@ class ValidColorValuesProvider 'value' => 0.87, ], ], + 'grasgrün' => [ + self::CMYK => [ + 'cyan' => 0.495, + 'magenta' => 0.0, + 'yellow' => 1.0, + 'key' => 0.51, + ], + self::RGB => [ + 'red' => 0.247, + 'green' => 0.490, + 'blue' => 0.0, + ], + self::HSV => [ + 'hue' => 0.2492, + 'saturation' => 1.00, + 'value' => 0.49, + ], + ], + 'aquamarin' => [ + self::CMYK => [ + 'cyan' => 0.501, + 'magenta' => 0.0, + 'yellow' => 0.168, + 'key' => 0.00, + ], + self::RGB => [ + 'red' => 0.49804, + 'green' => 1.0, + 'blue' => 0.83285, + ], + self::HSV => [ + 'hue' => 0.4445, + 'saturation' => 0.50196, + 'value' => 1.0, + ], + ], 'violet' => [ self::CMYK => [ 'cyan' => 0.191, @@ -228,6 +282,24 @@ class ValidColorValuesProvider 'value' => 0.71, ], ], + 'pflaume' => [ + self::CMYK => [ + 'cyan' => 0.0, + 'magenta' => 0.2755, + 'yellow' => 0.0, + 'key' => 0.1335, + ], + self::RGB => [ + 'red' => 0.866666666666667, + 'green' => 0.627450980392157, + 'blue' => 0.866666666666667, + ], + self::HSV => [ + 'hue' => 0.833333333333333, + 'saturation' => 0.27601, + 'value' => 0.86666, + ], + ], ]; public function getValidColorValues(array $order): array