Take colour of error output from static variable in the class so that it can be
overridden