Computer Science, asked by dayamb, 1 year ago

is any colour in html is a combination of four basic colors

Answers

Answered by LovelyBarshu
23
<b>Hey frnd !</b>

✨✨

<u>Your answer :- </u>

No , any colour in HTML is not a combination of 4 basic colours but it is a combination of 3 colours those are :-

◾ Red
◾ Green
◾ Blue

These are based on the values of RGB colour value !

✨✨

Good luck ! Do well in exam !
Answered by Laxmipriyas007
0

Answer:

No, color in HTML is a combination of 3 colors.

Explanation:

HTML stands for Hypertext mark-up language.

Colors in HTML are represented by an RGB value i.e., Red, Green, and Blue.

Syntax of using HTML colors is :

                                  rgb(red value, green value, blue value)

The parameters (red value, green value, blue value) define the intensity of the colors which lies between 0 and 255.

Therefore,  256 x 256 x 256= 16777216  different colors are possible to use in HTML.

For example, rgb(255, 0, 0)- We get red color in the display as the highest value is given to red and the other two color values are set to zero.

rgb(0, 255, 0) - displays green color.

rgb(0, 0, 255) - displays blue color.

rgb(0, 0, 0) - displays black color.

rgb(255, 255, 255) - displays white color.

We can also mix RGB colors to get the desired color of your choice.

Similar questions