One of the beauties of CRM is the ability to use client side code, in particular, I am fond of attachEvent(). Here is a brief demonstration of how to change the colours of a field within crmForm using the DOM and attachEvent(). It should be noted that this particular little gem is from the department of 'Unsupported but fun to do anyway'.
Attach this to the Onload event of the Account Form (or any form you like, just change the references)...
function CompanyName_GlowField()
{
/* The Event's SrcElement will be the element that fired
the event in this case, it will be the Microsoft Dynamics
CRM form element */
event.srcElement.runtimeStyle.backgroundColor ="#ffdddd";
}
function CompanyName_RevertField()
{
/* Runtimestyle will automatically revert the style back to
what it was prior to our code changing it. */
event.srcElement.runtimeStyle.backgroundColor ="";
}
/* Hook up events to the Account Name field */
crmForm.all.name.attachEvent("onmouseover",
CompanyName_GlowField);
crmForm.all.name.attachEvent("onmouseout",
CompanyName_RevertField);
As you can see, this is quite a powerful little feature. You can add custom logic to this function to further enhance the effect, perhaps changing colours depending on the value, a range of values or a particular dependency.
Have fun.