Sometimes we get requirement to change the forecolor for some fields in Dynamics CRM 2013 in order to highlight them in different color. So we implemented following script:
You can add the scripts on-load or based on some condition.
For changing color during field is non-selected:
//Setting red color
In order to change color during field is typed:
//Setting color blue during typing of field
Note: This is unsupported script and may break in future if Microsoft changes something.