Skip to content

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.

License

Notifications You must be signed in to change notification settings

ewliang/BW-Color-Contrast-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

Table of Contents

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

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.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages