I'm new to HTML/CSS and I've noticed that there are different ways to set color codes in CSS, such as using names like yellow
or hex codes like #ffff00
. I've also learned that each color has a numeric equivalent, for example, yellow is represented by 255,255,0
. However, when I tried applying the following style to my body element, it didn't have any effect:
Here's my CSS:
body {
background-color: 255,255,0;
color: black !important;
}
Can someone please help me with this issue?