Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.18 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.18 KB

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.