One can chain in the classes in jQuery like:
$( "#divRGB" ).removeClass('classBLUE').removeClass('classGREEN').addClass('classRED');
thus optimise it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.