Method GetKnownColors
GetKnownColors()
Enumerates colors defined in KnownColor.
public static IReadOnlyList<Color> GetKnownColors()
Returns
GetKnownColors(KnownColorCategory[], bool)
Enumerates colors defined in KnownColor for the specified color categories.
public static IReadOnlyList<Color> GetKnownColors(KnownColorCategory[] cats, bool onlyVisible = true)
Parameters
cats
KnownColorCategory[]onlyVisible
bool