add ColorDefinition.registerColorDefinition