I see your point. What I was trying to achieve was the documentation of what colors the IDs in the XML relate to. I decided to do this using code, as it has the side-effect of removing duplication. I'll consider changing this so XML comments document what colors the IDs are.