1.2.1 • Published 4 years ago

@k-renwick/colour-mixer v1.2.1

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

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