Method FindKnownColor
FindKnownColor(Color?)
Converts Color to known color if its possible.
public static Color? FindKnownColor(Color? color)
Parameters
color
ColorColor.
Returns
- Color
If IsKnownColor for
color
returnstrue
, color is returned as is; otherwise list of known colors is searched forcolor
ARGB and and if it is found,color
is modified to become a known color.