Paste this snippet into your dev console, then mouseover the colours to get a preview.
Array.prototype.forEach.call($$("td[bgcolor]"), function(td) {
td.parentNode.addEventListener('mouseenter', function() {
$("td[bgcolor]").setAttribute("bgcolor", td.parentNode.children[1].getAttribute("bgcolor"));
});
});