Color.FromOklab

Color.FromOklab method

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

public static Color FromOklab(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