FreeImage.NET Class Library Reference
FreeImageLookupX11Color Method |
Converts a X11 color name into a corresponding RGB value.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static bool LookupX11Color( string szColor, out byte nRed, out byte nGreen, out byte nBlue )
Parameters
- szColor
- Type: SystemString
Name of the color to convert. - nRed
- Type: SystemByte
Red component. - nGreen
- Type: SystemByte
Green component. - nBlue
- Type: SystemByte
Blue component.
Return Value
Type: BooleanReturns true on success, false on failure.
See Also