Added colourLookup function

Also made colour table a global