RandomColor extension
- on
Methods
-
nextColor(
{int? red, int? green, int? blue, int? alpha, double? opacity}) → Color -
Available on Random, provided by the RandomColor extension
Generates a random Color with uniformly distributed red, green & blue values. -
nextColorHsl(
{double? hue, double? saturation, double? lightness, double? alpha}) → HSLColor -
Available on Random, provided by the RandomColor extension
Generates a random HSLColor with uniformly distributed hue, saturation, and lightness values. -
nextColorHsv(
{double? hue, double? saturation, double? value, double? alpha}) → HSVColor -
Available on Random, provided by the RandomColor extension
Generates a random HSVColor with uniformly distributed hue, saturation, and value values.