This is a simple neural network that can guess what the text-color should be to make it best visible. It has been written in JavaScript using the brain.js library.