It's really a personal preference, there is no rule. But very dark colors cover up curves, so if you buy a car for the curves then it's might not be a good idea getting it in a dark color.
My previous car was electric blue because I liked that color with the car's shape the most. My current one is white, it looks good in a couple of other colors too, so it came down to my personal preference.