This document is archived and information here might be outdated.  Recommended version.


ICieLabConversion.RgbToLab Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Display)  

ICieLabConversion.RgbToLab Method

Converts an RGB color to a CIELAB color.

[Visual Basic .NET]
Public Sub RgbToLab ( _
    ByVal RGB As Integer, _
    ByRef l As Double, _
    ByRef a As Double, _
    ByRef b As Double _
)
[C#]
public void RgbToLab (
    int RGB,
    ref double l,
    ref double a,
    ref double b
);
[C++]
HRESULT RgbToLab(
  OLE_COLOR RGB,
  System.Double* l,
  System.Double* a,
  System.Double* b
);
[C++]

Parameters RGB [in]
RGB is a parameter of type OLE_COLOR l [out]
l is a parameter of type double* a
a is a parameter of type double* b
b is a parameter of type double*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ICieLabConversion Interface