/* use color: ;
it can be: */
color: red; /*color name(1)*/
color: rgb(100, 50, 30); /*RGB value(2)*/
color: #122120; /*HAX value(3)*/
color: #fff;
color: hsl(120, 55%, 20%) /*HUE value(4)*/
/*(2)and(3) are the most recommended*/
/*official color keywords wiki*/
https://www.w3.org/wiki/CSS/Properties/color/keywords
/*good wikipedia entry w pics*/
https://en.wikipedia.org/wiki/Web_colors
#p1 {background-color: rgba(255, 0, 0, 0.3);} /* red with opacity */
#p2 {background-color: rgba(0, 255, 0, 0.3);} /* green with opacity */
#p3 {background-color: rgba(0, 0, 255, 0.3);} /* blue with opacity */
/* all color are same */
color: rgb(255, 99, 71)
color: #ff6347
color: hsl(9, 100%, 64%)
h1 {
color: rgb(0,0,255);
}
Code Example |
---|
Css :: ngrok host header change |
Css :: css add space right |
Css :: fallback value in css |
Css :: css template |
Css :: set propTypes |
Css :: css sass scss |
Css :: opposite of :not css |
Css :: css structure |
Css :: selector css |
Css :: sass syntax cheat sheet |
Css :: scrollbar style |
Css :: css grid cheat sheet |
Css :: css inherit class |
Css :: account system php html |
Css :: how long ago was 1993 years |
Css :: cd cover dimensions |
Css :: top 10 customers odoo |
Css :: PY Bisect key sort |
Css :: css remove button outline |
Css :: html percentage css |
Css :: css os dependent font family |
Css :: calculate min number in css |
Css :: lier class et css |
Css :: font face roboto css |
Css :: const Schema |
Css :: css loading spinner with text |
Css :: Définir le nombre minimum de mots sur les publications WordPress |
Css :: set opacity except one |
Css :: au fourneua bakery |
Css :: how to affect a deffernt element in css |