Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anshsinghsonkhia/thousand-colors
An Open-Source NPM Package with 1000+ colors & their RGB values, ready to be used in your projects. <We Welcome Contributions for Hacktoberfest 2024>
https://github.com/anshsinghsonkhia/thousand-colors
colors hacktoberfest hacktoberfest-accepted hacktoberfest2024 javascript npm npm-package npmjs rgb
Last synced: 4 months ago
JSON representation
An Open-Source NPM Package with 1000+ colors & their RGB values, ready to be used in your projects. <We Welcome Contributions for Hacktoberfest 2024>
- Host: GitHub
- URL: https://github.com/anshsinghsonkhia/thousand-colors
- Owner: AnshSinghSonkhia
- License: apache-2.0
- Created: 2024-02-26T04:40:20.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-10-05T14:04:13.000Z (4 months ago)
- Last Synced: 2024-10-12T08:03:29.064Z (4 months ago)
- Topics: colors, hacktoberfest, hacktoberfest-accepted, hacktoberfest2024, javascript, npm, npm-package, npmjs, rgb
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/thousand-colors
- Size: 103 KB
- Stars: 4
- Watchers: 1
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```