Skip to content

Instantly share code, notes, and snippets.

@keremistan
Created March 18, 2021 08:41
Show Gist options
  • Save keremistan/57f472b4e0a8a6fec82b4e580c32f48f to your computer and use it in GitHub Desktop.
Save keremistan/57f472b4e0a8a6fec82b4e580c32f48f to your computer and use it in GitHub Desktop.
Getting 10 random colors.
function get10RandomColors(): string[] {
return Array.from({ length: 10 }, () => getRandomColor());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment