Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ewliang/bw-color-contrast-ai

BW Color Contrast AI is a simple machine learning webapp that learns and suggests which text color (black or white) goes best on the foreground of a randomly generated background color using brain.js as the library for neural network.
https://github.com/ewliang/bw-color-contrast-ai

brain-js brainjs color-contrast css3 html5 javascript machine-learning neural-network web-development webapp

Last synced: 9 days ago
JSON representation

BW Color Contrast AI is a simple machine learning webapp that learns and suggests which text color (black or white) goes best on the foreground of a randomly generated background color using brain.js as the library for neural network.

Awesome Lists containing this project

README

        

# BW Color Contrast AI
BW Color Contrast AI is a simple machine learning webapp that learns and suggests which text color (black or white) goes best on the foreground of a randomly generated background color using brain.js as the library for neural network.

DEMO: [https://ewliang.github.io/BW-Color-Contrast-AI/](https://ewliang.github.io/BW-Color-Contrast-AI/)

# Table of Contents
- [Features](#features)
- [Author](#author)
- [Setup and Requirements](#setup-and-requirements)
- [License](#license)

## Features
- Generates a random background color, and it suggests what colored text (black or white) best contrasts against the background color.
- User can toggle ON/OFF training mode.
- AI predictions are designated via a black border surrounding its selection.

## Author
Eric Liang
- Website [https://www.eric-liang.com](https://www.eric-liang.com)
- Github [https://www.github.com/ewliang](https://www.github.com/ewliang)

## Setup and Requirements

- HTML5
- CSS3
- Javascript
- Brain.js

The setup is simple. Just treat this as a ordinary web project with brain.js included as a library.

## License
This project is under the GPLv3.0 license. Please refer to the LICENSE file for more details.