From 54450a339fdfe23773086196bf22f785fb49f577 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Sun, 16 Feb 2020 00:20:37 +1100 Subject: [PATCH] Fix Color.Transparent to match spec. --- src/ImageSharp/Color/Color.NamedColors.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ImageSharp/Color/Color.NamedColors.cs b/src/ImageSharp/Color/Color.NamedColors.cs index 8eb3fbcaf..240ce304d 100644 --- a/src/ImageSharp/Color/Color.NamedColors.cs +++ b/src/ImageSharp/Color/Color.NamedColors.cs @@ -8,6 +8,7 @@ namespace SixLabors.ImageSharp { /// /// Contains static named color values. + /// /// public readonly partial struct Color { @@ -719,9 +720,9 @@ namespace SixLabors.ImageSharp public static readonly Color Tomato = FromRgba(255, 99, 71, 255); /// - /// Represents a matching the W3C definition that has an hex value of #FFFFFF. + /// Represents a matching the W3C definition that has an hex value of #00000000. /// - public static readonly Color Transparent = FromRgba(255, 255, 255, 0); + public static readonly Color Transparent = FromRgba(0, 0, 0, 0); /// /// Represents a matching the W3C definition that has an hex value of #40E0D0.