Added a colour changing directive to Text class.