Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/meltymooncakes/tinycolor3
- Owner: MeltyMooncakes
- License: mit
- Created: 2021-01-10T10:32:40.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-12T19:36:45.000Z (almost 4 years ago)
- Last Synced: 2024-12-22T05:52:05.682Z (20 days ago)
- Language: JavaScript
- Size: 388 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
TinyColor3
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);
```