I don't understand. Been using this in FB^3 for long time.
LOCAL mode
DIM myRGB as rgbColor
LOCAL FN FColor(RED%,GREEN%,BLUE%) 'integers 0-100 for percent of color
myRGB.blue%=INT(BLUE%*.01 *65535)
myRGB.green%=INT(GREEN%*.01*65535)
myRGB.red%=INT(RED%*.01*65535)
CALL RGBFORECOLOR(#@myRGB)
END FN
-----Original Message-----
From: tedd [mailto:tedd@...]
Sent: Wednesday, May 26, 2004 6:58 AM
To: futurebasic@...
Subject: [FB] Trillions of Colors
Hi gang:
Can anyone tell me what's going on with the "new" (new to me that is)
color values. The old colors were pretty simple, RBG with values that
ranged from 0-255 (00-FF) -- three bytes making millions of colors
(i.e., 255 x 255 x 255 = 16+ million).
However, the new colors range (six bytes) of RGB are from 0-65535
(0000 -- FFFF) and not 0-255 -- what's up with that? Anyone have any
reference or explanation as to why -- the new color thing is easily
going beyond human perception.
Thanks.
tedd
--
----------------------------------------------------------------------------
----
http://sperling.com/
--
--
To unsubscribe, send ANY message to: futurebasic-unsubscribe@...