Hi, Thanks for all your comments.
I'll look at the CSS spec. I'll look at the 4 bit RGB, i never heard of this before. Since CSS and the 4 to 8 bit conversion tells me to use #ff2233 from #f23, i'll make the change and "i'll get to bed less stupid tonight" (french expression). Thanks everyone for your time, Robert --- "Peter \"Firefly\" Lund" <[EMAIL PROTECTED]> wrote: > On Thu, 4 Aug 2005, Aris Basic wrote: > > > hmm to me is not really logical to make f23 = > ff2233 at the most 0f0203 > > but even that is stretching > > more likely f23 = f2 30 00 or 00 0f 23 :) > > It makes perfect sense. "#f23" specifies an > RGB-triplet with 4 bits per > channel and "#ff2233" specifies it with 8 bits per > channel. > > When converting from 4 bits per channel to 8 bits > per channel one > multiplies each channel value not by 16 but by 17 in > order to cover the > whole range properly (so F maps to FF instead of to > F0). > > -Peter > _______________________________________________ > Developers mailing list > [email protected] > http://dotgnu.org/mailman/listinfo/developers > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs _______________________________________________ Developers mailing list [email protected] http://dotgnu.org/mailman/listinfo/developers
