/Completely-Random-Colors

This node module generates completely random colors

Primary LanguageJavaScript

Completely Random Colors

This node module generates completely random colors.

Usage

Install the module

npm i completely-random-colors

Import the module

const { getRandomColor } = require('completely-random-colors')

OR

import { getRandomColor } from 'completely-random-colors'

Get a random color

const color = getRandomColor()

Get multiple random colors

const { getRandomColors } = require('completely-random-colors');
const colors = getRandomColors(50); // gets a list of 50 random colors