Color.FromLab

Color.FromLab method

Returns a new Color with the requested lightness, A, B values.

public static Color FromLab(float lightness, float a, float b)
ParameterTypeDescription
lightnessSingleA float that represents the lightness component of the color.
aSingleA float that represents the A component of the color.
bSingleA float that represents the B component of the color.

Return Value

A new instance of the Color class

See Also