String to color

Installation

npm i @rtcoder/string-to-color

Usage

import {stringToColor} from "@rtcoder/string-to-color";

const color = stringToColor('Lorem ipsum dolor sit amet');

Interface

function stringToColor(str: string): string;