Hi,
Try to use the following code to set the color:
NumericField.font.fill.color.value = "255,0,0"; (that would be for red). **This is javascript** You have to do the calculation in javascript as well.
You can place this statement within if statements specifying the boundary conditions for your ranges.
Catherine