これは背景色で機能するはずです:
$(document).ready(function() {
$('body *').each(function() {
color='rgb(116, 149, 186)';
if($(this).css('background-color')==color) {
$(this).animate({
backgroundColor: '#67C65D'
}, 2000 );
}
});
});
HTML:
<body>
<div id="header">sss</div>
<div id="content">ddd</div>
<div id="footer">fffff</div>
</body>
CSS:
#header { background-color: #7495BA; height:50px;width:100%; }
#content {
width:100%;
height:300px;
background-color:red;
}
#footer {
width:100%;
height:50px;
background-color: #7495BA;
}
もちろん、次のプラグインが必要です:
http://www.bitstorm.org/jquery/color-animation/
編集 2: http://jsfiddle.net/NCctc/