Color.FromHsla(Double, Double, Double, Double) Method

Definition

Returns a new HSL Color with an alpha channel

public static Xamarin.Forms.Color FromHsla (double h, double s, double l, double a = 1);
static member FromHsla : double * double * double * double -> Xamarin.Forms.Color

Parameters

h
System.Double

The Hue component of the color.

s
System.Double

The Saturation component of the color.

l
System.Double

The Luminosity component of the color.

a
System.Double

The alpha value of the color.

Returns

An HSL color

Applies to