HunterLab Constructor

Constructor in HunterLab

Declaration

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

Description

Creates new Hunter 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.
bThe blue-yellow chromaticity component of the color.

Overload

Declaration

public HunterLab(HunterLab other)

Description

Creates a new copy of the components.

Parameters

otherThe other components to copy.

Overload

Declaration

public HunterLab(Color color)

Description

Creates new Hunter Lab components from the given color.

Parameters

colorThe color to extract the components from.