Page 1 of 1

HTML Colors

Posted: Wed Oct 15, 2008 5:49 am
by DDastardly71
How do I convert an HTML color (i.e. #223BB5) to QuickBASIC on SCREEN 0?

I've tried using the PALETTE command but QB PALETTE command is only in the range of (0-63) whereas HTML is (0-255).

Does anybody have a formula to convert an HTML RGB to a QuickBASIC RGB color?