color to hex javascript code example
Example: javascript set color in hex
element = document.querySelector("div");
element.style.backgroundColor = "#242424";
element = document.querySelector("div");
element.style.backgroundColor = "#242424";