Problem mixing colors
Message-ID:<4ffb7e4f-ce03-4ca1-9533-ccd73efa4156@p20g2000yqi.googlegroups.com>
Subject:
Problem mixing colors
Date:Sat, 28 Feb 2009 14:05:50 +0100
each color has its own code, like (827b2e) How can i do, to mix (827b2e) and (b22f4b) for example?
Message-ID:<49a94060$0$9775$426a74cc@news.free.fr>
Subject:
Re: Problem mixing colors
Date:Sat, 28 Feb 2009 14:47:13 +0100
jo.y.venn@gmail.com wrote: > each color has its own code, like (827b2e) > How can i do, to mix (827b2e) and (b22f4b) for example? What are you exactly trying to achieve? -- Bertrand
Message-ID:<87myc68qq4.fld@apaflo.com>
Subject:
Re: Problem mixing colors
Date:Sat, 28 Feb 2009 17:34:59 +0100
jo.y.venn@gmail.com wrote:
>each color has its own code, like (827b2e)
However, that code is actually a little more complex than
is obvious. It has three values, one each for red, green,
and blue, and each value can be a single hex digit, a double,
or a quad hex digit! Hence all of these are possible
codes for the same color (white):
fff, ffffff, fffffffff, ffffffffffff
>How can i do, to mix (827b2e) and (b22f4b) for example?
With that one you would separate each into distinct color
channel values, then average each channel, and put together
the values again. Here's a chart, showing decimal values too
so that it is easy to do the averaging:
827b23 b22f4b Average
hex dec hex dec hex dec
Red 82 130 b2 178 9a 154
Green 7b 123 2f 47 85 55
Blue 23 35 4b 75 55 37
Hence the average color could be coded as 9a8555.
--
Floyd L. Davidson <http://www.apaflo.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) floyd@apaflo.com
Message-ID:<972353d4-9869-4963-a665-18a6cfbd72ca@g38g2000yqd.googlegroups.com>
Subject:
Re: Problem mixing colors
Date:Sat, 28 Feb 2009 18:24:50 +0100
>=A0Hence all of these are possible > codes for the same color (white): > > =A0 =A0fff, ffffff, fffffffff, ffffffffffff > > >How can i do, to mix (827b2e) and (b22f4b) for example? > > Here's a chart, showing decimal values too > so that it is easy to do the averaging: > > =A0 =A0 =A0 =A0 =A0 =A0827b23 =A0 =A0 =A0 b22f4b =A0 =A0 =A0 Average > =A0 =A0 =A0 =A0 =A0 hex =A0dec =A0 =A0 hex =A0dec =A0 =A0 hex =A0 dec > =A0 Red =A0 =A0 =A082 =A0130 =A0 =A0 =A0b2 =A0178 =A0 =A0 =A09a =A0 154 > =A0 Green =A0 =A07b =A0123 =A0 =A0 =A02f =A0 47 =A0 =A0 =A085 =A0 =A055 > =A0 Blue =A0 =A0 23 =A0 35 =A0 =A0 =A04b =A0 75 =A0 =A0 =A055 =A0 =A037 > > Hence the average color could be coded as 9a8555. Exactly, this is the answer i want..i understand the logic behind, thanks for your deeper description! Is there a way to archive the exact mixed color-code with a scheme- or apple, or python-script ? Pleeaze!
Message-ID:<49a9781d$0$25550$426a74cc@news.free.fr>
Subject:
Re: Problem mixing colors
Date:Sat, 28 Feb 2009 18:45:02 +0100
Floyd L. Davidson wrote: > jo.y.venn@gmail.com wrote: >> each color has its own code, like (827b2e) > > However, that code is actually a little more complex than > is obvious. It has three values, one each for red, green, > and blue, and each value can be a single hex digit, a double, > or a quad hex digit! Hence all of these are possible > codes for the same color (white): > > fff, ffffff, fffffffff, ffffffffffff > >> How can i do, to mix (827b2e) and (b22f4b) for example? > > With that one you would separate each into distinct color > channel values, then average each channel, and put together > the values again. Here's a chart, showing decimal values too > so that it is easy to do the averaging: > > 827b23 b22f4b Average > hex dec hex dec hex dec > Red 82 130 b2 178 9a 154 > Green 7b 123 2f 47 85 55 > Blue 23 35 4b 75 55 37 > > Hence the average color could be coded as 9a8555. > A non-mathematical way to achieve this is to set both colors as end of a color gradient, and use the color picker to pick the color in the middle. Then you don't even need to now the actual color values (pick color one, pick color two, draw gradient, pix mix color). -- Bertrand
Message-ID:<50e21f85-9675-452e-9dfd-bce57d66ea9c@o36g2000yqh.googlegroups.com>
Subject:
Re: Problem mixing colors
Date:Sat, 28 Feb 2009 19:36:12 +0100
> A non-mathematical way to achieve this is to set both colors as end of a > color gradient, and use the color picker to pick the color in the > middle. Then you don't even need to now the actual color values (pick > color one, pick color two, draw gradient, pix mix color). I've understood the concept, its very easy. Thanks Bertrand. But the mathematical variant is even intriguant too. Exists a script for gimp which does the conversion for the first one data-codecs ?
Message-ID:<49a98b30$0$27608$426a74cc@news.free.fr>
Subject:
Re: Problem mixing colors
Date:Sat, 28 Feb 2009 20:06:24 +0100
jo.y.venn@gmail.com wrote: >> A non-mathematical way to achieve this is to set both colors as end of a >> color gradient, and use the color picker to pick the color in the >> middle. Then you don't even need to now the actual color values (pick >> color one, pick color two, draw gradient, pix mix color). > > I've understood the concept, its very easy. Thanks Bertrand. > But the mathematical variant is even intriguant too. Exists a script > for gimp which does the conversion for the first one data-codecs ? The mathematical version and the gradient are the same. When you draw a gradient, gimp computes the channel values of a given point using a linear function which run from the color value of the first endpoint to the value of the second endpoint, so the point in the middle of the gradient has its three colors exactly the average the the colors of the gradient endpoints. -- Bertrand
Message-ID:<1235845290.717098@athprx03>
Subject:
Re: Problem mixing colors
Date:Sat, 28 Feb 2009 19:21:31 +0100
then, "Floyd L. Davidson" climbed to the rostrum and said:
> jo.y.venn@gmail.com wrote:
>> each color has its own code, like (827b2e)
>
> However, that code is actually a little more complex than
> is obvious. It has three values, one each for red, green,
> and blue, and each value can be a single hex digit, a double,
> or a quad hex digit! Hence all of these are possible
> codes for the same color (white):
>
> fff, ffffff, fffffffff, ffffffffffff
>
>> How can i do, to mix (827b2e) and (b22f4b) for example?
>
> With that one you would separate each into distinct color
> channel values, then average each channel, and put together
> the values again. Here's a chart, showing decimal values too
> so that it is easy to do the averaging:
>
> 827b23 b22f4b Average
> hex dec hex dec hex dec
> Red 82 130 b2 178 9a 154
> Green 7b 123 2f 47 85 55
> Blue 23 35 4b 75 55 37
>
> Hence the average color could be coded as 9a8555.
>
You probably mean:
Average
hex dec
Red 9a 154
Green 55 85
Blue 37 55
--
Please, remove hyphens to contact me
----- --- -- -- - -
geotso
----- --- -- -- - -
Message-ID:<4ffb7e4f-ce03-4ca1-9533-ccd73efa4156@p20g2000yqi.googlegroups.com>
Subject:
Problem mixing colors
Date:Sat, 28 Feb 2009 14:05:50 +0100
each color has its own code, like (827b2e) How can i do, to mix (827b2e) and (b22f4b) for example?
Message-ID:<49a94060$0$9775$426a74cc@news.free.fr>
Subject:
Re: Problem mixing colors
Date:Sat, 28 Feb 2009 14:47:13 +0100
jo.y.venn@gmail.com wrote: > each color has its own code, like (827b2e) > How can i do, to mix (827b2e) and (b22f4b) for example? What are you exactly trying to achieve? -- Bertrand
Message-ID:<87myc68qq4.fld@apaflo.com>
Subject:
Re: Problem mixing colors
Date:Sat, 28 Feb 2009 17:34:59 +0100
jo.y.venn@gmail.com wrote:
>each color has its own code, like (827b2e)
However, that code is actually a little more complex than
is obvious. It has three values, one each for red, green,
and blue, and each value can be a single hex digit, a double,
or a quad hex digit! Hence all of these are possible
codes for the same color (white):
fff, ffffff, fffffffff, ffffffffffff
>How can i do, to mix (827b2e) and (b22f4b) for example?
With that one you would separate each into distinct color
channel values, then average each channel, and put together
the values again. Here's a chart, showing decimal values too
so that it is easy to do the averaging:
827b23 b22f4b Average
hex dec hex dec hex dec
Red 82 130 b2 178 9a 154
Green 7b 123 2f 47 85 55
Blue 23 35 4b 75 55 37
Hence the average color could be coded as 9a8555.
--
Floyd L. Davidson <http://www.apaflo.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) floyd@apaflo.com
Message-ID:<972353d4-9869-4963-a665-18a6cfbd72ca@g38g2000yqd.googlegroups.com>
Subject:
Re: Problem mixing colors
Date:Sat, 28 Feb 2009 18:24:50 +0100
>=A0Hence all of these are possible > codes for the same color (white): > > =A0 =A0fff, ffffff, fffffffff, ffffffffffff > > >How can i do, to mix (827b2e) and (b22f4b) for example? > > Here's a chart, showing decimal values too > so that it is easy to do the averaging: > > =A0 =A0 =A0 =A0 =A0 =A0827b23 =A0 =A0 =A0 b22f4b =A0 =A0 =A0 Average > =A0 =A0 =A0 =A0 =A0 hex =A0dec =A0 =A0 hex =A0dec =A0 =A0 hex =A0 dec > =A0 Red =A0 =A0 =A082 =A0130 =A0 =A0 =A0b2 =A0178 =A0 =A0 =A09a =A0 154 > =A0 Green =A0 =A07b =A0123 =A0 =A0 =A02f =A0 47 =A0 =A0 =A085 =A0 =A055 > =A0 Blue =A0 =A0 23 =A0 35 =A0 =A0 =A04b =A0 75 =A0 =A0 =A055 =A0 =A037 > > Hence the average color could be coded as 9a8555. Exactly, this is the answer i want..i understand the logic behind, thanks for your deeper description! Is there a way to archive the exact mixed color-code with a scheme- or apple, or python-script ? Pleeaze!
Message-ID:<49a9781d$0$25550$426a74cc@news.free.fr>
Subject:
Re: Problem mixing colors
Date:Sat, 28 Feb 2009 18:45:02 +0100
Floyd L. Davidson wrote: > jo.y.venn@gmail.com wrote: >> each color has its own code, like (827b2e) > > However, that code is actually a little more complex than > is obvious. It has three values, one each for red, green, > and blue, and each value can be a single hex digit, a double, > or a quad hex digit! Hence all of these are possible > codes for the same color (white): > > fff, ffffff, fffffffff, ffffffffffff > >> How can i do, to mix (827b2e) and (b22f4b) for example? > > With that one you would separate each into distinct color > channel values, then average each channel, and put together > the values again. Here's a chart, showing decimal values too > so that it is easy to do the averaging: > > 827b23 b22f4b Average > hex dec hex dec hex dec > Red 82 130 b2 178 9a 154 > Green 7b 123 2f 47 85 55 > Blue 23 35 4b 75 55 37 > > Hence the average color could be coded as 9a8555. > A non-mathematical way to achieve this is to set both colors as end of a color gradient, and use the color picker to pick the color in the middle. Then you don't even need to now the actual color values (pick color one, pick color two, draw gradient, pix mix color). -- Bertrand
Message-ID:<50e21f85-9675-452e-9dfd-bce57d66ea9c@o36g2000yqh.googlegroups.com>
Subject:
Re: Problem mixing colors
Date:Sat, 28 Feb 2009 19:36:12 +0100
> A non-mathematical way to achieve this is to set both colors as end of a > color gradient, and use the color picker to pick the color in the > middle. Then you don't even need to now the actual color values (pick > color one, pick color two, draw gradient, pix mix color). I've understood the concept, its very easy. Thanks Bertrand. But the mathematical variant is even intriguant too. Exists a script for gimp which does the conversion for the first one data-codecs ?
Message-ID:<49a98b30$0$27608$426a74cc@news.free.fr>
Subject:
Re: Problem mixing colors
Date:Sat, 28 Feb 2009 20:06:24 +0100
jo.y.venn@gmail.com wrote: >> A non-mathematical way to achieve this is to set both colors as end of a >> color gradient, and use the color picker to pick the color in the >> middle. Then you don't even need to now the actual color values (pick >> color one, pick color two, draw gradient, pix mix color). > > I've understood the concept, its very easy. Thanks Bertrand. > But the mathematical variant is even intriguant too. Exists a script > for gimp which does the conversion for the first one data-codecs ? The mathematical version and the gradient are the same. When you draw a gradient, gimp computes the channel values of a given point using a linear function which run from the color value of the first endpoint to the value of the second endpoint, so the point in the middle of the gradient has its three colors exactly the average the the colors of the gradient endpoints. -- Bertrand
Message-ID:<1235845290.717098@athprx03>
Subject:
Re: Problem mixing colors
Date:Sat, 28 Feb 2009 19:21:31 +0100
then, "Floyd L. Davidson" climbed to the rostrum and said:
> jo.y.venn@gmail.com wrote:
>> each color has its own code, like (827b2e)
>
> However, that code is actually a little more complex than
> is obvious. It has three values, one each for red, green,
> and blue, and each value can be a single hex digit, a double,
> or a quad hex digit! Hence all of these are possible
> codes for the same color (white):
>
> fff, ffffff, fffffffff, ffffffffffff
>
>> How can i do, to mix (827b2e) and (b22f4b) for example?
>
> With that one you would separate each into distinct color
> channel values, then average each channel, and put together
> the values again. Here's a chart, showing decimal values too
> so that it is easy to do the averaging:
>
> 827b23 b22f4b Average
> hex dec hex dec hex dec
> Red 82 130 b2 178 9a 154
> Green 7b 123 2f 47 85 55
> Blue 23 35 4b 75 55 37
>
> Hence the average color could be coded as 9a8555.
>
You probably mean:
Average
hex dec
Red 9a 154
Green 55 85
Blue 37 55
--
Please, remove hyphens to contact me
----- --- -- -- - -
geotso
----- --- -- -- - -



RSS News Feed