@k-renwick/colour-mixer

1.2.1 • Public • Published

colour-mixer

Blends two colours together, can be used to lighten, darken, or mix colours.

Install

npm install @k-renwick/colour-mixer

Usage

import * as colourMixer from '@k-renwick/colour-mixer'

const blendedColour = colourMixer.blend('#B57EE5', 0.5)

Testing

run npm test to run existing unit tests

Package Sidebar

Install

npm i @k-renwick/colour-mixer

Weekly Downloads

39

Version

1.2.1

License

ISC

Unpacked Size

14.1 kB

Total Files

6

Last publish

Collaborators

  • k-renwick