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
Double

The Hue component of the color.

s
Double

The Saturation component of the color.

l
Double

The Luminosity component of the color.

a
Double

The alpha value of the color.

Returns

An HSL color

Applies to