I can get the custom colours used in the ColorDialog (vb.net) by using myColorDialog.CustomColors, which will return me an array of colours as integer values.
Is it possible to get the 48 Basic Colors in a similar way?
I can get the custom colours used in the ColorDialog (vb.net) by using myColorDialog.CustomColors, which will return me an array of colours as integer values.
Is it possible to get the 48 Basic Colors in a similar way?
They are available as static properties of the struct System.Drawing.Color
Examples:
Color.AliceBlue
Color.AntiqueWhite
Color.Aqua
etc.
Edit: Sorry, there are more here than in the dialog, so it may not be what you want.