you can do it with jquery like this :
$("#idOfMyCSSElement div").css("color","#122362");
EDIT:
you can mimic the hover pseudo class like following :
$('.someclass').hover( function(){
$(this).css('background-color', '#F00');
},
function(){
$(this).css('background-color', '#000');
});
EDIT 2 : say your elements that you planned to change their color has class
htmlElementsToChangeColor
then you can do the following to apply change:
$("#myButton").click(function(){
$(".htmlElementsToChangeColor").css("color","your color code");
});