HTML RGB MCQs

This section focuses on color "RGB" of Html. These Multiple Choice Questions (mcq) should be practiced to improve the Html skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.

1. In HTML, colors can be specified by-

A. RGB
B. RGBA
C. HEX
D. All of the above

View Answer


2. What does R,G and B in RGB value of HTML color mean?

A. Red,Green,Blue
B. Red,Grey,Black
C. Red,Grey,Blue
D. Red,Green,Black

View Answer


3. Each of RGB has its value from-

A. 0 to 256
B. 0 to 254
C. 0 to 255
D. 1 to 256

View Answer


4. Which color do RGB(0,0,0) represent?

A. White
B. Black
C. Red
D. Blue

View Answer


5. Which color do RGB(255,255,255) represent?

A. White
B. Black
C. Red
D. Blue

View Answer


6. Choose the correct option.

A. In rgba, a stands for alpha.
B. Its value ranges from 0 to 1.
C. Both a and b are correct.
D. None of the above

View Answer


7. Which color will rgba(255,0,0,0) give?

A. red
B. black
C. tomato
D. white

View Answer


8. Which color will rgb(0,255,0) give?

A. red
B. green
C. tomato
D. blue

View Answer


9. Which one of the following colors will be darkest?

A. rgb(30,30,30)
B. rgb(90,90,90)
C. rgb(120,120,120)
D. rgb (200,200,200)

View Answer


10. Which one of the following colors will be darkest?

A. rgba(255,99,71,0)
B. rgba(255,99,71,0.5)
C. rgba(255,99,71,0.8)
D. rgba(255,99,71,0.2)

View Answer





Also check :


Discussion


* You must be logged in to add comment.