DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+5 =
Submit