Automatically generate the colour constants and associated tests.