2.0.3 • Published 5 years ago
the-color v2.0.3
the-color
Color utility for the-framework
Installation
$ npm install the-color --save
Usage
'use strict'
const {colorWithAlpha} = require('the-color')
async function tryExample () {
console.log(colorWithAlpha('#AAA',0.5)) // -> rgba(170, 170, 170, 0.5)
}
tryExample().catch((err) => console.error(err))
API Guide
License
This software is released under the MIT License.