ConversionExtensions.ToLCh_ab
Extension Method in ConversionExtensions
Declaration
public static CIELCh_ab ToLCh_ab(this Color color)
Description
Converts the color to CIE LCh(ab) components.
Parameters
color | The color to convert. |
Returns
CIELCh_ab | The CIE LCh(ab) components of the color. |
Overload
Declaration
public static CIELCh_ab ToLCh_ab(this Color color, Illuminant illuminant, StandardObserver observer = StandardObserver.Two)
Description
Converts the color to CIE LCh(ab) components using the given illuminant and standard observer.
Parameters
color | The color to convert. |
illuminant | The illuminant to use. |
observer | The standard observer to use (default=2°). |
Returns
CIELCh_ab | The CIE LCh(ab) components of the color. |
Overload
Declaration
public static CIELCh_ab ToLCh_ab(this Color color, Tristimulus whitePoint)
Description
Converts the color to CIE LCh(ab) components using the given white point.
Parameters
color | The color to convert. |
whitePoint | The reference white point. |
Returns
CIELCh_ab | The CIE LCh(ab) components of the color. |