ConversionExtensions.ToUVW

Extension Method in ConversionExtensions

Declaration

public static CIEUVW ToUVW(this Color color)

Description

Converts the color to CIE UVW components.

Parameters

colorThe color to convert.

Returns

CIEUVWThe CIE UVW components of the color.

Overload

Declaration

public static CIEUVW ToUVW(this Color color, Illuminant illuminant, StandardObserver observer = StandardObserver.Two)

Description

Converts the color to CIE UVW components using the given illuminant and standard observer.

Parameters

colorThe color to convert.
illuminantThe illuminant to use.
observerThe standard observer to use (default=2°).

Returns

CIEUVWThe CIE UVW components of the color.

Overload

Declaration

public static CIEUVW ToUVW(this Color color, Tristimulus whitePoint)

Description

Converts the color to CIE UVW components using the given white point.

Parameters

colorThe color to convert.
whitePointThe reference white point.

Returns

CIEUVWThe CIE UVW components of the color.