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