Color.FromOklaba

Color.FromOklaba method

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

public static Color FromOklaba(float lightness, float a, float b, float alpha)
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.
alphaSingleA float that represents the alpha component of the color.

Return Value

A new instance of the Color class

See Also