https://github.com/akash-joshi/neural-color-picker
JavaScript library to help you pick colors by using a Recurrent Neural Network
https://github.com/akash-joshi/neural-color-picker
auto-picker automation color color-picker color-scheme color-selector neural-network picker scheme
Last synced: 3 months ago
JSON representation
JavaScript library to help you pick colors by using a Recurrent Neural Network
- Host: GitHub
- URL: https://github.com/akash-joshi/neural-color-picker
- Owner: akash-joshi
- License: mit
- Created: 2018-05-01T06:36:34.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-17T11:12:30.000Z (about 6 years ago)
- Last Synced: 2025-03-24T17:21:19.647Z (4 months ago)
- Topics: auto-picker, automation, color, color-picker, color-scheme, color-selector, neural-network, picker, scheme
- Language: JavaScript
- Homepage: https://color.js.org
- Size: 118 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
# Neural Color Picker
[](https://www.npmjs.com/package/neural-color-picker)
[](https://www.npmjs.com/package/neural-color-picker)
[](https://www.npmjs.com/package/neural-color-picker)---
# neural-color-picker
A JavaScript library using a **Recurrent Neural Network**, which receives a background color as input in the form of (Red, Green, Blue) and outputs whether the foreground text should be light or dark.
---
## Installation
### Using npm
```console
npm i neural-color-picker --save
```### Using the browser
```html
```
---
## Usage
Your input will be the color of the background
### Node
```javascript
const color = require('neural-color-picker')
console.log(color(255, 255, 255))
```### Browser
```javascript
console.log(neuralColor(255, 255, 255))
```### Output
Output is what color your foreground text should be
```console
dark
```---
## Support the project
To show support for the project, you can do any (or many!) of the following:
- [Star the repository.](https://github.com/akash-joshi/neural-color-picker)
- [Follow me on twitter, and say hi!](https://twitter.com/akashtrikon)
- [Donate via PayPal.](http://paypal.me/akashsjoshi)---
## License
MIT License (MIT)