Hi Tim > > This is untested, but should work: > > GdkColor c; > char s[8]; > sprintf( s, "#%02x%02x%02x", c.red>>8, c.green>>8, c.blue>>8 ); thanks for the help []´s Luiz _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list