I have to convert rgb value to hex when moving the inputs (range), but when I move nothing happens, the hexadecimal color should appear below as well as the color is changed at the top.
The color is only loaded when the page loads, when moving the ranges nothing happens.
Follow the code: link