You can format numbers by specifying a Domain or a Format String. Colour can be included in the format string, see Color Property.
See Also
MaxBasic Formatting