@rtcoder/string-to-color
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

String to color

A library to convert any string to hex 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;

Readme

Keywords

Package Sidebar

Install

npm i @rtcoder/string-to-color

Weekly Downloads

101

Version

1.0.1

License

Apache-2.0

Unpacked Size

14.1 kB

Total Files

6

Last publish

Collaborators

  • rtcoder