Is there a javascript/jQuery function that would Redefine the standard css color names? (Something you could simply copy/past into your projects.)
example:
<div id="example"></div>
<style>
#example { background: red; }
</style>
<script>
if(true) {
function redefineColor () {
var backgroundColor = $("*").css("background"); //select all elements
if( backgroundColor == "#FF0000" ) { //red color.
$(this).css("background","#DC143C"); //other shade of red.
} else { return false}
redefineColor();
}
</script>
greetings