Color.FromOklch

Color.FromOklch method

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

public static Color FromOklch(float luminance, float chroma, float hue)
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.

Return Value

A new instance of the Color class

See Also