|
|
 Phil | 2005-06-09 11:08:10 |
First off, your class is adiquate, however, it stores all the values twice for now known reason.
Conversions between HEX and RGB values can be easily done in your own code. Store the colour code once and convert on demand.
However, my biggest question. Is it possible to pass a HEX or INT value of a colour, and match the nearest websafe colour. |
| |
2. Re: Colour matching |
|
Reply |
|
|
 Er. Rochak Chauhan | 2005-06-09 11:37:37 - In reply to message 1 from Phil |
Phil,
First of all let me thank you for your constructive feedback. I have noted all your points.
Just give me couple of days and I shall update this class, INCLUDING the function to get the
nearest web safe color.
Thanks again.
Rochak Chauhan. |
|