Text with color contrast to the background using Chroma.js

Asked

Viewed 66 times

1

In the following file Generator of random themes I have the code that uses Chroma.js to check the color of bg by making the text contrast, but it only generates one color for each background color and I would like it to generate more than one color as I can do?

  • The code is generating a background color every click. Should improve your question.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.