Re: Confused about color
Walter Ian Kaye (boo@primenet.com)
Thu, 18 May 1995 01:17:55 -0700
Message-Id: <v01510102abe0b1421c1d@[198.68.46.100]>
Date: Thu, 18 May 1995 01:17:55 -0700
To: www-html@www10.w3.org
From: boo@primenet.com (Walter Ian Kaye)
Subject: Re: Confused about color
>> >>Does anyone know where to get the table of the hexidecimal# for changing
>> >>the text color, and the spec for changing those text color.
[snip]
>I've never used the system 7.5 label colour wheel, but have the 7.1
>version. It returns 2 byte unsigned integers. Anyway, to convert
>these to hex values follow this algorithm where val is the value to
>be converted.
>
>Note that the hex digits are 0..9,a,b,c,d,e,f where a..f represent
>10..15
>
>While val > 0
>do
[snip]
Hey, if you have Excel 4.0, just use my handy-dandy RGB-Calc spreadsheet!
It converts Color Picker values, both integers and percentages, into the
hexadecimal format needed. Here's the URL:
ftp://ftp.primenet.com/users/b/boo/excel4-rgb-calc.hqx
It's cross-platform, too! (Mac/Win, anyway)
-Walter :)
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Walter Ian Kaye: (602) 942-6390 FoxPro/Excel Programmer; Guitarist #
# Correspond to: boo@primenet.com, boodlums@genie.com #
# BinHex files: boo@primenet.com WWW: http://www.primenet.com/~boo/ #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #