diff --git a/modules/color/color.module b/modules/color/color.module
index ff6c70e..9b548c7 100644
--- a/modules/color/color.module
+++ b/modules/color/color.module
@@ -85,7 +85,7 @@ function _color_html_alter(&$vars) {
       foreach ($color_paths as $color_path) {
         // Color module currently requires unique file names to be used,
         // which allows us to compare different file paths.
-        if (basename($old_path) == basename($color_path)) {
+        if (basename($old_path) != basename($color_path)) {
           // Replace the path to the new css file.
           // This keeps the order of the stylesheets intact.
           $vars['css'][$old_path]['data'] = $color_path;
