wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Colors

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

To make the background color be white

a)

{background-color: #fff;}

b)

{background-color: rgb(white);}

c)

{background-color: #000;}

d)

{background-color: rgb(0,0,0);}

2.

"Foreground" color usually refers to

a)

the background-color of the body element

b)

the color assigned to the html element

c)

a box on top of another object

d)

text

3.

In rgb(123,234,211), the value of 234 refers to

a)

blue

b)

green

c)

red

d)

black

4.

#f2e3dd; can be shortened to

a)

nothing.

b)

#fed;

c)

&fed;

d)

rgb(f2,e3,d);

5.

A computer can generate

a)

only as many colors are the monitor can display

b)

256 colors

c)

only red, green, and blue colors

d)

over 16 million colors

6.

Computer colors are

a)

additive colors because the computer must produce light to see the colors.

b)

subtractive colors because the monitor takes away all light except the color to be shown.

c)

divided color because the foreground color is divided by the background color.

d)

multiplied color because it takes 3 rgb pixels to make a color.

7.

The largest value than can be expressed in hexadecimal

a)

0

b)

F

c)

255

d)

256

8.

Hexadecimal includes ____ values.

a)

8

b)

16

c)

64

d)

255

9.

Which color coding is valid?

a)

rgb(255,255,256);

b)

#FF,E3,10;

c)

#fgee10;

d)

#FFEE77;

10.

When computers count to ten, the count begins with

a)

0

b)

1

c)

a

d)

A

11.

In rgba, the alpha value refers to the color's

a)

quality

b)

transparency

c)

brightness

d)

darkness

12.

Color transparency can be expressed with numbers from ___ to ___.

a)

0.0 to 1.0

b)

1 to 16

c)

0 to 16

d)

0 to 255