Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function randomColor(): string {
const hue = Math.floor(Math.random() * 40) * 9;
return '#' + hsl.hex([hue, 90, 30]);
}