Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/meltymooncakes/tinycolor3

a small side project
https://github.com/meltymooncakes/tinycolor3

Last synced: 18 days ago
JSON representation

a small side project

Awesome Lists containing this project

README

        

TinyColor3



NPM version
NPM downloads
License


PayPal

TinyColor is a small, fast library for color manipulation and conversion in JavaScript. It allows many forms of input, while providing color conversions and other color utility functions. It has no dependencies.

## Installation

Use the package manager [npm](https://www.npmjs.com/) to install Captcha Generator

```bash
npm i tinycolor_v3
```

## Usage

### Basic

```js
// Import the module
const TinyColor = require("tinycolor_v3");

/* Create a new TinyColor object
- Arguments: Color
- Color can be in these namespaces:
- Hex, Rgb, Hsl, Hsv, Cmyk
*/
let color = new TinyColor("#80cee1");

console.log(color.rgbString);
```