Skip to content
Advertisement

Tag: color-codes

I am trying to generate random color codes using JavaScript

I am trying to generate random color codes or one base colour-based codes. I am not much familiar with JavaScript & coloring What I have gathered so far: Thanks Answer If i understood you correctly. Try below function. It returns you the collection of colors if you pass anything and random. But if you pass baseColor it will generate hue

Advertisement