title: Set background color in hex
body: <p>How to set elements background color as hex value in JavaScript? <code>backgroundColor</code> method sets only in rgb.</p>
  
  <p><code>square.style.backgroundColor = input_color;</code> 
  <code>input_color</code> is #123456, but in the source sets <code>rgb(18, 52, 86)</code></p>