Re: Common standard for defining a color?
| From: | Norbert Mocsnik | Date: | Tue, 03 Feb 2004 18:52:22 +0000 |
| Subject: | Re: Common standard for defining a color? | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-25463@lists.php.net to get a copy of this message | ||
Pierre-Alain Joye wrote:
Keeping in mind that some backend talk about level of opacity instead of level of transparency. Percentage is nice, using float makes sense here. All channels are represented between 0.0 to 1.0. Then it's easy to adapt to any kind of backend (for the alpha, force the usage of level of transparency and then invert it). Pierre is right here, a float value is really the best IMHO.