How to generate two colors randomly in JS with slight difference : How to generate two colors with rgb format in js which are similar but slight difference in shade. See the image for clearance. Ignore the rest coding just provide the random JS functions to show these.
[enter image description here][1]


  [1]: https://i.stack.imgur.com/CIRdx.jpg