From 6293bf6f28e1c852ee8272b7f51c1e809f379507 Mon Sep 17 00:00:00 2001 From: Zappy Zhao Date: Fri, 4 Oct 2019 17:25:35 -0700 Subject: [PATCH 1/2] Update the hex value for DarkSeaGreen color Update the hex value for DarkSeaGreen color to 0xFF8FBC8F. Based on W3 definition, the hex value for DarkSeaGreen color needs to be fixed: https://www.w3.org/wiki/CSS/Properties/color/keywords Fix issue: https://github.com/SixLabors/ImageSharp/issues/1015 --- src/ImageSharp/Color/Color.NamedColors.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ImageSharp/Color/Color.NamedColors.cs b/src/ImageSharp/Color/Color.NamedColors.cs index 8811516c1c..0575a3e99e 100644 --- a/src/ImageSharp/Color/Color.NamedColors.cs +++ b/src/ImageSharp/Color/Color.NamedColors.cs @@ -174,9 +174,9 @@ namespace SixLabors.ImageSharp public static readonly Color DarkSalmon = FromRgba(233, 150, 122, 255); /// - /// Represents a matching the W3C definition that has an hex value of #8FBC8B. + /// Represents a matching the W3C definition that has an hex value of #8FBC8F. /// - public static readonly Color DarkSeaGreen = FromRgba(143, 188, 139, 255); + public static readonly Color DarkSeaGreen = FromRgba(143, 188, 143, 255); /// /// Represents a matching the W3C definition that has an hex value of #483D8B. @@ -718,4 +718,4 @@ namespace SixLabors.ImageSharp /// public static readonly Color YellowGreen = FromRgba(154, 205, 50, 255); } -} \ No newline at end of file +} From 1f8050886f75278ca0283c546f0e495c75fe1f19 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Wed, 9 Oct 2019 16:05:36 +1100 Subject: [PATCH 2/2] Update reference image to match new output --- tests/Images/External | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Images/External b/tests/Images/External index 58b2c01f9b..1d3d4e3652 160000 --- a/tests/Images/External +++ b/tests/Images/External @@ -1 +1 @@ -Subproject commit 58b2c01f9b66dd42d2b5b040b85e6846083b5e5f +Subproject commit 1d3d4e3652dc95bd8bd420346bfe0f189addc587