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/  #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

Received on Thursday, 18 May 1995 04:18:14 UTC