+ 6
How to use RGB?
How to use rgb on css?
6 Réponses
+ 2
The rgb function allows you to pass in parameters that determine the intensity of red, green, and blue. Simply set your color related property to "rgb(r, g, b)". The maximum intensity for each of these parameters is 255.
This example will set your page's background color to red:
body{
background-color: rgb(255, 0, 0);
}
+ 5
How to use RGB on css??
+ 3
Thanks..!!
+ 1
it's easier to use hex for everything color. it's also easier to find the perfect color online and it's pretty easy to understand.
As per your bg, it looks bad, like when you accdentally ctrl+A a webpage. Simple fix, google another color for your bg, something like #965D88, or #88965D, or even #5D966C. All are ternary colors for the most part. Short answer: blue text on blue bg doesn't work.
0
https://code.sololearn.com/We3Vy99MLAgG/?ref=app is the background looks good?
0
Like this?? Gray bg and cyan text??