Create color

A tiny (565 B) JavaScript library to generate permanent color from any string, array or object.
Install
npm install create-color
// or
yarn add create-color
Usage
const createColor = require("create-color");
import createColor from "create-color";
const hex = createColor("canThereBeAnyText");
const hsl = createColor("canThereBeAnyText", { format: "hsl" });
const hex = createColor(
{ name: "Andrey", age: 27, role: "user" },
{ format: "hex" }
);
const rgb = createColor(["random", "color", "generation"], { format: "rgb" });