AFAIK, there is no cross-browser way to get the color of a specific point after rendering.
So the only way is to simulate this. Get CSS background color plus transparency, and then go up through your parents until you find another background entry.
: RGB , CSS. , "", . 7- #ffee00, 24- ( 3 0 255). :
finalRed = parseInt (myRed * opacity + parentRed * ( 1. - opacity ));