Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript set color in hex

element = document.querySelector("div");
element.style.backgroundColor = "#242424";
 
PREVIOUS NEXT
Tagged: #javascript #set #color #hex
ADD COMMENT
Topic
Name
1+9 =