Re: "lightening" a color

2017-01-27 Thread Dr. Hawkins via use-livecode
[hopefully pulling the colors brought this down to the size limit] Bringing up an old topic . . . I got interrupted after asking, but here's a cute way to do it. Hopefully, someone can help with a couple of the deficiencies of this script: 1) backgroundPixel no longer works. Older examples to

Re: "lightening" a color

2016-09-20 Thread Roger Eller
There's no reason that Windows can not render a graphic or color equal to that of a Mac. Video card capabilities do have relevance however. On Sep 20, 2016 6:44 PM, "Bob Sneidar" wrote: > Lots of graphic affects on Macs, but Win seems to lack some of that >

Re: "lightening" a color

2016-09-20 Thread Bob Sneidar
Lots of graphic affects on Macs, but Win seems to lack some of that functionality. I will put something in front of the background, like a grapic object, then change the opacity of the graphic object. Makes selecting things with a mouse lasso impossible tho' Bob S > On Sep 10, 2016, at 15:00

Re: "lightening" a color

2016-09-10 Thread J. Landman Gay
On 9/10/16 5:00 PM, Dr. Hawkins wrote: Is there a way to "lighten" a color. This showed up on the list some time ago: function lightenColor origColor try repeat with i = 1 to 3 add 50 to item i of origColor if item i of origColor > 255 then put 255 into item i of origColor

Re: "lightening" a color

2016-09-10 Thread Scott Rossi
Here's a tint function from way back. pRGB is an RGB triplet, pValue is a decimal percent value for the desired tint of the color. function colorTint pRGB, pValue -- pRGB is RGB triplet -- pValue is between 0 and 1 put pRGB into theTint repeat with N = 1 to 3 put item N of pRGB

Re: "lightening" a color

2016-09-10 Thread hh
Yet another option could be to set the ink of the object to "blendLighten". ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: "lightening" a color

2016-09-10 Thread Tore Nilsen
Since white in the rgb space is made by adding max value of all three primary colours, and getting the colour will give you a list of numerical values in the form of 255,0,0 for maximum red, 0,255,0 for maximum green and 0,0,255 for maximum blue, you can always change any of these values to

Re: "lightening" a color

2016-09-10 Thread Rick Harrison
Have you considered just changing the border color of the object? If you made the border wider, and then changed the color a little that might be the best way to indicate to the user that they are using a different selection. It would certainly be a lot easier than changing the color of the

"lightening" a color

2016-09-10 Thread Dr. Hawkins
I am adding the ability to have multiple clients open, and want to use colors as a cue. Is there a way to "lighten" a color. That is (I suppose), to grab the numeric representation, and convert that to a much paler shade of the color? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462