ffej Posted March 14, 2016 Share Posted March 14, 2016 I have an external css stylesheet and am wanting to add a background-color with rgb color. I can only get a background-color when I use the color name. I don't get it. Body {background-color: rgb (100. 100. 90) ; } Doesn't work. I just learning but ...driving me crazy. Link to comment Share on other sites More sharing options...
hrci Posted March 24, 2016 Share Posted March 24, 2016 try write it like this rgb(100, 100, 90), u can ad also rgba (100,100,90, 0-1) where 0-1 can be like 0.2 or 0.7where that number from 0-1 will be opacity for the color/image of the background Link to comment Share on other sites More sharing options...
dsonesuk Posted March 24, 2016 Share Posted March 24, 2016 This is a duplicate posting http://w3schools.invisionzone.com/index.php?showtopic=54991#entry301603 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now