diff --git a/classes/ezjsccssoptimizer.php b/classes/ezjsccssoptimizer.php
index <HASH>..<HASH> 100644
--- a/classes/ezjsccssoptimizer.php
+++ b/classes/ezjsccssoptimizer.php
@@ -70,7 +70,7 @@ class ezjscCssOptimizer
             $css = str_replace( ':0 0 0 0;', ':0;', $css );
 
             // Optimize hex colors from #bbbbbb to #bbb
-            $css = preg_replace( "/#([0-9a-fA-F])\\1([0-9a-fA-F])\\2([0-9a-fA-F])\\3/", "#\\1\\2\\3", $css );
+            $css = preg_replace( "/color:#([0-9a-fA-F])\\1([0-9a-fA-F])\\2([0-9a-fA-F])\\3/", "color:#\\1\\2\\3", $css );
         }
         return $css;
     }
Fix CSSOptimizer color hex regex to not apply to IE filters

This will cause the optimizer to not shorten color codes on some css properties, but fixes issues with filter: which extects color codes to always have 6 letters.