@ied/color
v1.0.0-beta.6
Published
## Install
Downloads
11
Readme
Color
Install
yarn add @ied/color
Use
import { getColorFromString } from '@ied/color'
const firstName = 'Harvey'
const lastName = 'Milk'
const color = getColorFromString(`${firstName}${lastName}`)
Types
type GetColorFromString = (
string: string,
saturation?: number,
luminosity?: number,
opacity?: number,
) => string