Which of the following color codes of HTML represent the same color?
(i) #00ff00
(ii) hsl(120,100%,50%)
(iii) rgb(255,99,71)
a) All three
b) i and ii
c) i and iii
d) ii and ii
Answer: b
Explanation: i and ii represents color green while iii represents color tomato.
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