@ied/color

## Install

Stats

StarsIssuesVersionUpdatedCreatedSize
@ied/color
1.0.0-beta.63 years ago4 years agoMinified + gzip package size for @ied/color in KB

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.