Skip to content

iilei/random-color-seeded

Repository files navigation

Random Color Seeded

A simple CLI tool to generate a random color with seed.

Utilizes HSLuv to easily make random colors with consistent perceived levels of saturation and lightness Utilizes seedrandom for seeding capabilities Configurable using command line srguments

Install:

npm i -g random-color-seeded

Run

random-color-seeded foo

Default Saturation and Lightness is 90. You can set both via command line flags within the range of 1-100:

random-color-seeded --lightness=50 --saturation=70 foo

You might also utlize environment vars to define Seed / Saturation / Lightness:

LIGHTNESS=50 SATURATION=70 random-color-seeded foo

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published