Using HTML/CSS/JavaScript, Is there a way to use variable to control a hex color value, so I could say something like: color #variable1, variable2, variable3
, a b c, and for example variable 1 2 and 3 are 1, 2 and 3, so the color code would be #123abc
.
I guess what I'm asking is if you can use variables in place of an identifier for color if that makes sense. Thanks!