Re: Algoritm for RGB Values for Color Wheel

2016-09-12 Thread Ben Rubinstein
http://www.easyrgb.com/index.php?X=MATH=02#text2 followed by http://www.easyrgb.com/index.php?X=MATH=16#text16 ? On 12/09/2016 20:49, Sannyasin Brahmanathaswami wrote: @ Scott: changing constants to constant color1 = "255,0,0" -- red - primary constant color2 = "255,64,0" -- red-orange -

Re: Algoritm for RGB Values for Color Wheel

2016-09-12 Thread Sannyasin Brahmanathaswami
@ Scott: changing constants to constant color1 = "255,0,0" -- red - primary constant color2 = "255,64,0" -- red-orange - tertiary constant color3 = "255,127,0" -- orange - secondary constant color4 = "255,191,0" -- orange-yellow - tertiary constant color5 = "255,255,0" -- yellow - primary

Re: Algoritm for RGB Values for Color Wheel

2016-09-12 Thread Sannyasin Brahmanathaswami
Thanks Scott.. this gets me very close and I can see the pattern. I can tweak this to get to the "official" formal color wheel which has the three primaries, three secondaries and six tertiaries in proper order see: e.g.

Re: Algoritm for RGB Values for Color Wheel

2016-09-12 Thread dunbarx
Hi. Not sure what you are asking, but do you know about the "colorNames" property"? Craig Newman -Original Message- From: Sannyasin Brahmanathaswami <bra...@hindu.org> To: How LiveCode <use-livecode@lists.runrev.com> Sent: Mon, Sep 12, 2016 10:56 am Subje

Re: Algoritm for RGB Values for Color Wheel

2016-09-12 Thread Scott Rossi
I posted a stack that creates a color wheel in a graphic using a conical fill gradient. You may want to adjust the colors if you need different values. In your message box: go url "http://tactilemedia.com/download/colorwheel.livecode; Regards, Scott Rossi Creative Director Tactile Media,

Re: Algoritm for RGB Values for Color Wheel

2016-09-12 Thread Rick Harrison
I think when I looked into this I found there wasn’t any predicable logic to this. You just have to look up the values for the colors you want. I suppose you could create a table for just the colors you need and then make your selection based on your table. I found this on Wikipedia: The

Algoritm for RGB Values for Color Wheel

2016-09-12 Thread Sannyasin Brahmanathaswami
before I go after this myself I wonder if anyone has already coded runtime display of the 12 segment color wheel as RGB values red (primary) red-orange (tertiary) orange (secondary etc… through to red-purple (tertiary) BR ___ use-livecode mailing