Is there an online example of all the colours in S

2020-06-07 03:16发布

问题:

Can anyone point me to a reference chart that has swatches of all the colours that are represented in System.Drawing.Color?

回答1:

From here:

The following image shows the color of each predefined brush, its name, and its hexadecimal value.

May as well have the details right here on SO:



回答2:

"Web Colors - X11 color names" from wikipedia:

http://en.wikipedia.org/wiki/Web_colors

http://en.wikipedia.org/wiki/X11_color_names

WPF Colors

Color names in Windows Presentation Foundation (WPF) match the color names in Microsoft .NET Framework, Windows Forms, and Microsoft Internet Explorer. These colors and their names are based on the UNIX X11 color values.

http://msdn.microsoft.com/en-us/library/system.windows.media.brushes.aspx