backgroundcolor hex in react code example
Example: does hex rgba work in react inline styling
const blueColor = '#2c8da9';
const oBlueColor = blueColor+'33'; // 0.2 opacity added
document.getElementById('one').style.backgroundColor = blueColor;
document.getElementById('two').style.backgroundColor = oBlueColor;