getComputedStyle converts hex to rgba
I have the following CSS on a page:
:root {
--my-color: #ABCDEF;
}
And the following JS:
console.log('my-color:', getComputedStyle(document.body).getPropertyValue('--my-color'))
On most browsers, that logs my-color: #ABCDEF
. On Epiphany 3, it logs my-color: rgba(171,205,239,1)
.