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