Add ability to set foreground colour based on value
Merge remote-tracking branch 'origin/gda-8.40'