CIELAB Constructor

Constructor in CIELAB

Declaration

public CIELAB(float L, float a, float b)

Description

Creates new CIE LAB components from the given values.

Parameters

LThe lightness component of the color in the range [0..100].
aThe green-red chromaticity component of the color in the range [-128..128].
bThe blue-yellow chromaticity component of the color in the range [-128..128].

Overload

Declaration

public CIELAB(CIELAB other)

Description

Creates a new copy of the components.

Parameters

otherThe other components to copy.

Overload

Declaration

public CIELAB(Color color)

Description

Creates new CIE LAB components from the given color.

Parameters

colorThe color to extract the components from.