Home > database >  Generate Random Same Colors in React
Generate Random Same Colors in React

Time:02-23

I have successfully generated random colors. The problem is I also wanted to assign same random colors for the background color of the same orderNumber. How do I do this?

Please check my codesandbox Edit generate-random-same-colors-in-react

enter image description here

Using PolishedJS readableColor utility to select the readable text color to use. enter image description here

  • Related