hex color 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";