Text Contrast ML
Machine Learning, Frontend Development
Should text on a coloured background be black or white? Text Contrast ML answers that with a neural network trained entirely in the browser: label random background colours with your preferred text colour, watch the model learn in real time, then test its predictions on colours it has never seen.
Built with Brain.js, all training and inference happen locally - no data leaves the device. Up to five trained models can be saved in browser storage, each with a quality indicator derived from training loss and example count.