Forums
This topic is locked
Colour Swatch
Posted 24 Jun 2005 00:03:31
1
has voted
24 Jun 2005 00:03:31 Chris Trace posted:
Hey guys n girlsI would like users of a site to be able to enter in the rgb,cmyk etc values similar to a fireworks or photoshop pallette and be able to see the results in a screen colour patch.
To make things more interesting - this swatch also then has to draw data from a sql database then display the swatch.
Any help would be appreciated.
Thanks
Replies
Replied 29 Jun 2005 13:58:32
29 Jun 2005 13:58:32 Simon Bloodworth replied:
Have a look here:
javascript.internet.com/calculators/rgb-slider.html
Very good for rgb/hex colours
maybe not perfect but a starting point i hope.
Simon
DWMX 2004 | ASP | VBScript
javascript.internet.com/calculators/rgb-slider.html
Very good for rgb/hex colours
maybe not perfect but a starting point i hope.
Simon
DWMX 2004 | ASP | VBScript
Replied 05 Jul 2005 18:18:17
05 Jul 2005 18:18:17 Chris Trace replied:
Simon,
Thanks that is most definately a starting point.
I need to make the rgb and hex values draw their data from a php database and insert into the script to display the large colour swatch square. The other colour swatches and sliders are not necessary h- at least for this purpose but that script itself is pretty impressive for that too.
Any other thoughts would be great - will have a play with that one for a while as well.
Thanks
Thanks that is most definately a starting point.
I need to make the rgb and hex values draw their data from a php database and insert into the script to display the large colour swatch square. The other colour swatches and sliders are not necessary h- at least for this purpose but that script itself is pretty impressive for that too.
Any other thoughts would be great - will have a play with that one for a while as well.
Thanks