Remove color to hex

Javascript `element.style.backgroundColor` either gives us a hex value or an RGB value. We should account for both. This won't really matter much because we are moving color to the backend, but while color is a public API we should accommodate rgb as a valid value.