Re: HTML 3.2 PR color value syntax

Kevin 'Kev' Hughes (kevinh@eit.com)
Tue, 12 Nov 1996 13:59:21 -0800 (PST)


Date: Tue, 12 Nov 1996 13:59:21 -0800 (PST)
From: "Kevin 'Kev' Hughes" <kevinh@eit.com>
Message-Id: <199611122159.NAA25447@eit.com>
To: www-html@w3.org
Subject: Re: HTML 3.2 PR color value syntax


> Jim Wise (jim@santafe.arch.columbia.edu) says:
> > 6%? 101/256 = 39.45% on my calculator. Did you use the Pentium 'fdiv'? ;-)
> > I, for one, cannot visually discern 0-100% from 0-255 in rendered colors,
> > though I always go for precision to satisfy my techie nature. :)
> 
> Yes, but (101 * 101 * 101) / (256 * 256 * 256) == about 6%

	There are certainly arguments against using percentages,
as everyone has pointed out:

	* If you use whole numbers, the color space is smaller
	* Different browsers will map percentages to slightly
		different RGB colors, due to differences in
		handling rounding of small numbers
	* It's already in CSS, let the style sheet people deal with
		these issues

	So I agree it's not worth it. Most graphics tools that can handle
percentages can also handle 0-255 RGB triplets.

	I also feel that thinking about adding syntax to represent
other color spaces as well as how to represent colors with more
resolution is likely opening a can of worms that is best dealt with
by the CSS people at this point, or those involved in HTML 4.0.

	-- Kevin

--
Kevin Hughes * kevinh@eit.com * http://www.eit.com/~kevinh/
Hypermedia Industrial Designer * VeriFone Internet Commerce * icd.verifone.com
Duty now for the future!