Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/anshsinghsonkhia/thousand-colors

An Open-Source NPM Package with 1000+ colors & their RGB values, ready to be used in your projects.
https://github.com/anshsinghsonkhia/thousand-colors

colors javascript npm npm-package npmjs rgb

Last synced: about 17 hours ago
JSON representation

An Open-Source NPM Package with 1000+ colors & their RGB values, ready to be used in your projects.

Awesome Lists containing this project

README

        

# thousand-colors
An Open-Source NPM Package with 1000+ colors & their RGB values, ready to be used in your projects.


# Installation

```shell
npm i thousand-colors
```

# Usage

```js
var colors = require('thousand-colors');
colors.red // [255,0,0]
```

# List of Colors:

Visit: [https://github.com/AnshSinghSonkhia/thousand-colors/blob/main/index.js](https://github.com/AnshSinghSonkhia/thousand-colors/blob/main/index.js)

```js
"aliceblue": [240, 248, 255],
"antiquewhite": [250, 235, 215],
"aqua": [0, 255, 255],
"aquamarine": [127, 255, 212],
"azure": [240, 255, 255],
"beige": [245, 245, 220],
"bisque": [255, 228, 196],
"black": [0, 0, 0],
"blanchedalmond": [255, 235, 205],
"blue": [0, 0, 255],
"blueviolet": [138, 43, 226],
"brown": [165, 42, 42],
"burlywood": [222, 184, 135],
"cadetblue": [95, 158, 160],
"chartreuse": [127, 255, 0],
"chocolate": [210, 105, 30],
"coral": [255, 127, 80],
"cornflowerblue": [100, 149, 237],
"cornsilk": [255, 248, 220],
"crimson": [220, 20, 60],
"darkblue": [0, 0, 139],
"darkcyan": [0, 139, 139],
"darkgoldenrod": [184, 134, 11],
"darkgray": [169, 169, 169],
"darkgreen": [0, 100, 0],
"darkkhaki": [189, 183, 107],
"darkmagenta": [139, 0, 139],
"darkolivegreen": [85, 107, 47],

// And, many more... refer: https://github.com/AnshSinghSonkhia/thousand-colors/blob/main/index.js
```