TryFindName

Rgb24Color.KnownColors.TryFindName method

Tries to find a color name by specified color within a named colors collection

public static bool TryFindName(Rgb24Color color, out string name)
Parameter Type Description
color Rgb24Color A color instance
name String& The resultant color name on success or null on failure

Return Value

True if name was successfully found for the given color, or false otherwise

See Also