Random color generator
This library will generate random colors that are visually pleasing and can be customized by passing custom hue, saturation and brightness range. This allows it to generate just specific color with slight differences.
Blue colors:
Red colors:
Green:
Low saturation:
High saturation:
Light colors:
Dark colors:
Usage
Getting random color:
random color function can be called with parameters colorHue, colorSaturation and colorBrightness
allowing for customization of colors the generator will pass.
Getting color name:
You can get color name from hex string (without # and alpha hex values) or from Color object
Get just red colors:
Random color can generate just specific color type, as long hue, saturation and brightness are not
too limiting this will still give rich result
Get just red and blue colors:
You can combine multiple hue ranges to choose from
Get highly saturated colors:
Get light colors:
Tests
If you want to run the tests for this project under Flutter Dart
flutter pub pub run test