Text with color contrast in relation to the background using chroma.js [closed]

1

In the following file Random Theme Generator I have the code that uses chroma.js to check the bg color making the text have contrast, but it only generates a color for each background color and would like it to generate more than one color how can I do it?

    
asked by anonymous 23.07.2015 / 20:48

0 answers