Changed code to use colour file not the raw tuple.