My webpage randomly generates a color, and some elements, like inputs, get colors generated as border or so through javascript. Something like this:
document.getElementById('input').style.color = color;
The thing is I want a thumb from <input type="range" />
to get the random color generated and I don't know how to do it, tried and searched the web without finding a solution to get this css style input[type=range]::-webkit-slider-thumb
in javascript.
Can anyone help me please? Thanks in advance.