Jump to content

Both will work, RGB is pretty much every browser, although RGBA just specifies transparency.

 

For CSS:

https://www.w3schools.com/css/css_colors.asp

 

Check this for CSS3:

https://www.w3schools.com/css/css3_colors.asp

I wish I knew how to stop breaking computers...

Link to comment
https://linustechtips.com/topic/739622-css-help/#findComment-9380781
Share on other sites

Link to post
Share on other sites

It should be the RGBA because it should be applied after the RGB field. I checked and that's what happens.

On a browser without RGBA support I think it should use the RGB value. That's what common sense dictates anyway.

i5 4670k @ 4.2GHz (Coolermaster Hyper 212 Evo); ASrock Z87 EXTREME4; 8GB Kingston HyperX Beast DDR3 RAM @ 2133MHz; Asus DirectCU GTX 560; Super Flower Golden King 550 Platinum PSU;1TB Seagate Barracuda;Corsair 200r case. 

Link to comment
https://linustechtips.com/topic/739622-css-help/#findComment-9380817
Share on other sites

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×