Color.

HSLA() Method

Summary

Generates an array of HSL values with alpha channel.
Namespace
Faker
Containing Type
Color

Syntax

public static double[] HSLA()

Remarks

The generated double is an array of fixed length of 4.

The first 3 items is the HSL values.

The last item is the alpha channel.

Return Value

Type Description
double[] An array of HSL values with alpha channel.
GitHub