+ 5
Any front end expert developer tell me if I know well css then why do I have to learn RGB method codes etc
Hi guys please kind me well on base of your experience only am beginner learner self study of web development I studying html and css combinely before my sources of learning was YouTube but when I came across sololearn I feel here a little bit strange like if I can change background color and layout etc through CSS then why do I have to learn RGB method and codes for background settings etc kindly explain and guide me m confused
4 Réponses
+ 16
The rgb method produces the same effect as using the hex value or even Color Names
Color names are of course quite easier than the rest, but j don't need to memorize those rgb or hex values in order to use them.
there are resources that have compiled all colors with their hex and rgb values, you can get them downloaded and use when you need one!
+ 4
the rgb and hex values do not change the syntax.
CSS
body {
background-color:blue;
}
html
bgcolor="blue"
+ 4
I reccomend you follow both the html and CSS course.
Also the rgb method is nearly the same as the typical hex color method.
Hex color:#000000
rgb color:rgb(0,0,0)
+ 4
in rgb we have 256*256*256 colors.
while there are few name of color.(red, blue,green,magenta......)
its better to use rgb