Search code examples
.netvisual-studiocolorscolor-schemecolor-picker

Is there a way to see the color that will display for a .NET color name?


I'm using System.Drawing.Color, is there anything in Visual Studio that can display the color for the name?

For example if I used Color.Cornsilk what would color would be displayed?


Solution

  • The Windows Forms properties window allows you to select Color related properties using a "Color Picker" that displays the actual color next to the name.

    Just type in the color name within the property value area, press enter, and if the name is a known .NET color, it is shown.