Hi Paul, thanks for the reply. Let me try to explain.
This is the current result after installing:
img[data-dominant-color]:not(.has-transparency) {
background-color: var(–dominant-color);
background-clip: content-box, padding-box;
}
<img data-dominant-color="3f3036" data-has-transparency="false" style="--dominant-color: #3f3036;" ....
I want the color (#3f3036), as is declared in var(–dominant-color) to be used elsewhere. For example as a div background-color elsewhere on that same page. But it won’t work when I set the bgcolor from that div as: background-color: var(–dominant-color);. It doesn’t where to look because the color itself is parsed inline probably.
Hope this make sense to you, thanks!