Color.FromOklcha

Color.FromOklcha method

Returns a new Color with the requested luminance, chroma, hue, alpha values for OKLAB model.

public static Color FromOklcha(float luminance, float chroma, float hue, float alpha)
ParameterTypeDescription
luminanceSingleA float that represents the luminance component of the color.
chromaSingleA float that represents the chroma component of the color.
hueSingleA float that represents the hue 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