Hi,

> Hi!
> 
> I'm not sure if I understand how clutter_color_shade works, can you tell
> me if I'm wrong. I want a darker shade of my color, so I run
> clutter_color_shade on it but the resulting color does not have the same
> hue.  It was more obvious when I tried with a shade factor of 1:
> 
> ClutterColor color;
> ClutterColor color2;
> 
> clutter_color_parse("#FF0000", &color);
> clutter_color_shade(&color, &color2, 1);
> 
> color is red,
> color2 is now teal ("#00FFFF").
> 
> Yet again, am I using this function incorrectly?

You are using it correctly; factors < 1 should give you darker colour of
the same hue, and factors > 1 should give you brighter colours, but
there is a bug which should now be fixed in trunk.

Tomas
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to