The mystery of flowers

I often wonder why flowers are so colourful. Are they trying to attract me or do they have some other more important reason for being that colour? It is one of those questions I will never know the answer to. Unless I can figure out how to talk to flowers. Now that would be cool.