Try http://www.cssoptimiser.com/
Input:
body { background-image: url(../images/background.png); background-repeat: repeat-x; background-color: #c0c0c0; }
(I noted "Do not delete line breaks")
Output:
body { background:#c0c0c0 url(../images/background.png) repeat-x }
Note that it also optimized space - you requested background:<space>#... :)
There may be other / better tools that can do this, but this site really matches your desire.
thirtydot
source share