Get random color
import {
HSLColor, RGBColor, getRandomHexColor,
getRandomRGBColor, getRandomHSLColor,
getRandomHSLColorWithHue, getRandomHSLColorWithSaturation,
getRandomHSLColorWithinRanges, getRandomGrayscaleHSLColor
} from 'mz-math';
const hexColor: string = getRandomHexColor();
const rgbColor: RGBColor = getRandomRGBColor();
const hslColor1: HSLColor = getRandomHSLColor();
const hslColor2: HSLColor = getRandomHSLColorWithHue(300);
const hslColor2: HSLColor = getRandomHSLColorWithSaturation(50);
const hslColor3: HSLColor = getRandomHSLColorWithLightness(50);
const hslColor4: HSLColor = getRandomHSLColorWithinRanges(
10, 20,
0, 100,
30, 50,
);
const hslColor5: HSLColor = getRandomGrayscaleHSLColor();