Re: Gimp color question
- From: Havoc Pennington <hp redhat com>
- To: Vicki Stanfield <vicki dialupnet com>
- Cc: GTK-List <gtk-list gnome org>
- Subject: Re: Gimp color question
- Date: 19 May 2001 19:17:43 -0400
Vicki Stanfield <vicki dialupnet com> writes:
>
> color.red = 99;
> color.green = 8;
> color.blue = 206;
These should be in the range 0-65535, Gimp is in 0-255.
(i.e., multiply by 255)
> No luck. I have the hex equivalent (#6308ce) if that would be
> easier.
gdk_color_parse (&color, "#6308ce");
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]