This package has been deprecated

Author message:

move to @the-/util-color ( https://github.com/the-labo/the/tree/master/packages/util-color#readme )

the-color

2.0.3 • Public • Published

the-color

Build Status npm Version JS Standard

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.

Links

Readme

Keywords

Package Sidebar

Install

npm i the-color

Weekly Downloads

3

Version

2.0.3

License

MIT

Unpacked Size

48.7 kB

Total Files

41

Last publish

Collaborators

  • okunishinishi