what RGB is blue?
Terry Judd
tsj at unimelb.edu.au
Fri Jul 1 05:44:09 EDT 2011
I think if the blue value is the largest of the 3 values then the colour
will always be a blue of sorts.
Terry...
On 01/07/2011 07:39 PM, "Tiemo Hollmann TB" <toolbook at kestner.de> wrote:
> Hello,
>
> I am taking the mousecolor at different points from an image by script (not
> by clicking). I would like to analyse if the color I've taken is a "kind of
> blue", or another color. I want to change the backgroundcolor of an image.
> The background is always blue, but different blues and changing over the
> background. So what I want to do is to verify, what is background and what
> is foreground of my image.
>
> 100% pure blue would be 0,0,255. But for a human being 25,75,130 (greyblue)
> is also still blue, but 240,20,180 is pink, though the third RGB value is
> higher as in my greyblue.
>
> So I can't just check only the third RGB value, neither the sum or cross
> total. Has anybody ever heard, if you can define at all by math "what is
> blue"?
>
> Any color specialist around here?
>
> Tiemo
>
>
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
--
Dr Terry Judd | Senior Lecturer in Medical Education
Medical Education Unit
Melbourne Medical School
The University of Melbourne
More information about the use-livecode
mailing list