DEV Community 👩‍💻👨‍💻

Discussion on: Random Colour Generator JS

Collapse
 
devfranpr profile image
DevFranPR

It wouldn't be better to randomize 3 numbers from 0 to 255 convert to hex and concat them?

Collapse
 
prakhart111 profile image
Prakhar Tandon Author

Hey DevFranPR,
Yeah, this one will also work fine.
Actually there are several possible ways to perform this operation, will try to enlist them all in my next article.
Stay Tuned !

Collapse
 
devfranpr profile image
DevFranPR

Nice! Follow

Thread Thread
 
prakhart111 profile image
Prakhar Tandon Author

And Share this article !
Connect with me on twitter as well ( link in the post )