Skip to content

Commit 7070bcc

Browse files
committed
Add documentation for known HTML color names in ColorTranslator
1 parent 2db52d0 commit 7070bcc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

QRCoder/Extensions/ColorTranslator.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ internal static class ColorTranslator
1010
{
1111
/// <summary>
1212
/// Dictionary of known HTML color names mapped to their RGB values.
13+
/// This list matches the CSS named colors as documented at:
14+
/// https://developer.mozilla.org/en-US/docs/Web/CSS/named-color
1315
/// </summary>
1416
private static readonly Dictionary<string, System.Drawing.Color> _knownColors = new Dictionary<string, System.Drawing.Color>(StringComparer.OrdinalIgnoreCase)
1517
{

0 commit comments

Comments
 (0)