Why did the COLOR statement change the value to hexadecimal?
Hi
@carloscordeiro,
I changed the colors.
SCREEN _NEWIMAGE(930, 600, 32) '<<<< the 32 here allows me to use the full blown range of color QB64 is capable of giving us 255 * 255 * 255 colors at 255 transparency levels.
&H FF FF FF FF 'white at full opaque or solid color, no see through
the first set of FF is transparency or lack of 0 is transparent 255 or hex FF is solid
2nd set of FF's are red 0 to 255, or 00 to FF in hex
3rd set of FF's are green 0 to 255 or 00 to FF in hex
4th set of FF's are blue 0 to 255 or 00 toFF in hex
&HFFFFFFFF (white) = _RGB32(255, 255, 255, 255)
&HFFFFFF00 (yellow = full red + full green) = _RGB32(255, 255, 0) ' without 4th transparent = 255 default
&HFF0000FF (blue) = _RGB32(0, 0, 255)
half transparent blue &H880000FF or _RGB32(0, 0, 255, 128)
notice alpha = transparent level is on left in the hex number but last on right 4th place in _RGB32(red, green, blue, alpha ) number.