HTML Colors

Please use this Board for QBasic related requests ( file research, programming, etc.)

Moderators:Administrator, Global Moderator

User avatar
DDastardly71
Jr. Member
Posts:15
Joined:Sun Jan 20, 2008 11:25 pm
HTML Colors

Post by DDastardly71 » Wed Oct 15, 2008 5:49 am

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?

Post Reply