16.1.1 • Published 4 years ago

@the-/util-color v16.1.1

Weekly downloads
1,435
License
MIT
Repository
github
Last release
4 years ago

@the-/util-color

npm Version

Color utility for the-framework

Installation

$ npm install @the-/util-color --save

Usage

'use strict'

const { colorWithAlpha } = require('@the-/util-color')

async function tryExample() {
  console.log(colorWithAlpha('#AAA', 0.5)) // -> rgba(170, 170, 170, 0.5)
}

tryExample().catch((err) => console.error(err))

API Guide

See API Guide for more detail

License

This software is released under the MIT License.

Links

16.1.1

4 years ago

16.1.0

5 years ago

16.0.0

5 years ago

15.5.2

5 years ago

15.5.1

5 years ago

15.4.12

6 years ago

15.4.10

6 years ago

15.4.0

6 years ago

15.2.0

6 years ago