diff --git a/advagg.api.php b/advagg.api.php
index c100bff..97f3ecb 100644
--- a/advagg.api.php
+++ b/advagg.api.php
@@ -570,5 +570,18 @@ function hook_advagg_context_alter(&$original, $aggregate_settings, $mode) {
 }
 
 /**
+ * Allow other modules to alter the CSS output prior to saving.
+ *
+ * @param string $data
+ *   The original CSS to be customized.
+ * @param string $uri
+ *   The filename that the CSS will be saved into.
+ */
+function hook_advagg_output_alter(&$data, $uri) {
+  // Make all 'green' colors use the official shade of green.
+  $data = str_replace('color: green;', 'color: #004c00;', $data);
+}
+
+/**
  * @} End of "addtogroup hooks".
  */
diff --git a/advagg.missing.inc b/advagg.missing.inc
index 8bdbb98..5d41b0a 100644
--- a/advagg.missing.inc
+++ b/advagg.missing.inc
@@ -735,6 +735,10 @@ function advagg_save_data($uri, $data, $overwrite = FALSE) {
     $data = ' ';
   }
 
+  // Allow other modules to customize the output.
+  // @see hook_advagg_output_css_alter().
+  drupal_alter('advagg_output_css', $data, $uri);
+
   // Perform the replace operation. Since there could be multiple processes
   // writing to the same file, the best option is to create a temporary file in
   // the same directory and then rename it to the destination. A temporary file
