Colors to my header and footer not applying by using color scheme options in my theme I am trying to incorporate color scheme which is available in  bartik, into my theme. I am able to generate the files which will be located at 


  sites/default/files/color/theme-4855b5/colors.css


after making options in color scheme of my theme.

But in the head tag of styles files, it still points to my theme directory colors.css instead of above mentioned directory, Which results in no change of colors for my theme. 

My theme is actually a sub theme. What am i doing wrong ??


I have included color folder and inside that have color.inc files.
Also included color.css folder inside css folder.
hook_process_page(&amp;$variables)  and     hook_process_html(&amp;$variables)  these functions included in template.php
included css file in info file too.  stylesheets[all][] = 'css/colors.css'


What am I missing in not getting that css being replaced by dynamically generate one? Thanks in advance.
I am able to apply css for my header and other things, I found an alternative way to include the css.Even though I can't find a way through drupal_add_css(), the following helped me in adding css.

This is the way I included dynamically generated css file which is located at sites/default/files/color/theme-768/color.css

In the theme folder in the html.tpl.php after &lt;?php print $styles;?&gt; include this

&lt;?php    
       print '&lt;style&gt;';
       print '@import url("' . $filepath . '")';
       print '&lt;/style&gt;';
?&gt;


This includes the css file and provided colors for header, footer etc.