TryFindColor

Rgb24Color.KnownColors.TryFindColor method

Tries to find a color by its string name

public static bool TryFindColor(string keyword, out Rgb24Color output)
Parameter Type Description
keyword String A color name
output Rgb24Color& The resultant color value on success or Black value on failure

Return Value

True if color was successfully found by its name, or false otherwise

See Also