Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 20 days 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-17T11:12:30.000Z (over 5 years ago)
- Last Synced: 2024-09-15T10:41:03.983Z (2 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
[![npm](https://img.shields.io/npm/v/neural-color-picker.svg?style=for-the-badge&labelColor=000000&color=4505ff)](https://www.npmjs.com/package/neural-color-picker)
[![Downloads](https://img.shields.io/npm/dt/neural-color-picker.svg?style=for-the-badge&labelColor=000000)](https://www.npmjs.com/package/neural-color-picker)
[![License](https://img.shields.io/npm/l/neural-color-picker.svg?style=for-the-badge&labelColor=000000&color=ff0666)](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)