a) 16^3
b) 16^6
c) 2^6
d) 2^16
Answer: b
Explanation: Each digit of #rrggbb can have 16 values (from 0 to F) and there are total of 6 digits. Hence, the total number of possible colors = 166.
Related Posts
Which attribute defines the file-select field?
Which attribute is used for activation of JavaScript?
How does the color attribute work?
Which of the following is a new input attribute introduce by HTML5?
What is the default type of ‘type’ attribute of <input> element?
Which browser supports mozCurrentSampleOffset?
What can not be done by controls attribute?
Join The Discussion