Doug This may be of no use at all to you ..on the other hand..
Some while back i picked up a document off the web of complimentary colours I translated it into 4D Code. This helps if you are doing any kind of row shading, it just builds an array of RGB references and their colour names and has the rgb of one step two step and 3 step lighter. I was using it in an SVG charting mechanism. > On 11 May 2017, at 09:47, Douglas Cryer via 4D_Tech <[email protected]> > wrote: > > Hello all, > > I have a list of colours in my system and I have a corresponding hex colour > code field but nobody has really used it. I want to do a few things: > Automatically map common colours to hex colours (via a lookup > Provide a hex colour picker that I can use in a listbox > Use the returned/edited hex colour to do one of the following: > Set the text colour to the chosen hex value > Set the row or cell colour to the chosen hex value > Is there an example of this anywhere? > > Regards, Dougie > ________________________________________________________ > > telekinetix Limited- J. Douglas Cryer > Phone : 01234 761759 Mobile : 07973 675 218 > 2nd Floor Broadway House, 4-6 The Broadway, Bedford MK40 2TE > Email : [email protected] <mailto:[email protected]> Web : > http://www.telekinetix.com <http://www.telekinetix.com/> > ________________________________________________________ > > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

