Add ability to set foreground colour based on value