Improved contextual colour coding