A designer always provides CSS using opacity rather than actual color values. Does this affect rendering performance in the browser?
Which renders faster, on an always white background, where I don't actually care about transparency.
<span>Hello</span>
span {color: black; opacity: 0.7;}
span {color: rgba(0, 0, 0, 0.7);}
span {color: #b3b3b3;}
My gut says opacity is slower (despite being put in the GPU) as now at render time the browser has to take into account the background, so any changes will cause it to repaint the object because of this transparency, while a statically colored object will never change.