Cadbury lost an argument about their purple colour over here glatt. Apparently they're appealing the decision. Time will tell I guess.
Here's one article about it.
With regard to the colours red, white and blue, there are a huge number of flags that use the exact same colours. I think if it were possible to copyright those three colours, someone already would have done so.