What are you trying to gain here by having the color namespace?

I want to avoid polluting the global namespace and to avoid name collisions.

As I said, the example with the colours wasn't probably a good one.

Let me change the question: How can I create a sub-namespace in the same file?