There's a new library called [colorjs](https://colorjs.io/tests/). It's probably worth checking the text-data there with this implementation.