Table of Contents

Method FindKnownColor

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

FindKnownColor(Color?)

Converts Color to known color if its possible.

public static Color? FindKnownColor(Color? color)

Parameters

color Color

Color.

Returns

Color

If IsKnownColor for color returns true, color is returned as is; otherwise list of known colors is searched for color ARGB and and if it is found, color is modified to become a known color.