Computer Science, asked by supriyamishra82, 3 days ago

name the colour in QB64 which screen 2 supports​

Answers

Answered by mohdrehan638795
0

Answer:

0 = Black

1 = Blue

2 = Green

3 = Grey

Explanation:

1: Finding the text foreground and background colors in SCREEN 0 only:

SCREEN 0

COLOR 0, 15

CLS

PRINT "SCREEN ="; SCREEN(1, 1, 1)

PRINT "FG color:"; SCREEN(1, 1, 1) AND 15 'low nibble

PRINT "BG color:"; SCREEN(1, 1, 1) \ 16 'high nibble

SCREEN = 112

FG color: 0

BG color: 7

Note: How the SCREEN 0 background color can only be changed to colors 0 through 7

Similar questions