Change the value of the StyleVars, not your CSS templates.
Follow:
AdminCP -> Styles & Templates -> Style Manager
Then look at the style you wish to change, and with "Style Variable Editor" selected, click "Go" and then scroll down to the "Global" group and you will find the two StyelVars I mentioned. Click on them and you can edit them to contain the colors you want.