If you actually look at how this GetStandardValues works under the hood, it uses Reflection to fetch all public static properties of Color, and if it's a get property which returns color, adds it to the list. So, in other words, it looks like your way is probably the easiest.
However, Xfolder, keep in mind that this list is not even close to all colors on the system. With 32 bits of color data, Windows supports about 4 billion distinct colors. This list is just the list of named non-system colors.
|