Is there a color code for transparent in HTML?

There is not a Transparent color code, but there is an Opacity styling. Check out the documentation about it over at developer.mozilla.org
You will probably want to set the color of the element and then apply the opacity to it.
.transparent-style{
    background-color: #ffffff;    opacity: .4;

}
You can use some online transparancy generatory which will also give you browser specific stylings. e.g. take a look at http://www.css-opacity.pascal-seven.de/
Note though that when you set the transparency of an element, any child element becomes transparent also. So you really need to overlay any other elements.
You may also want to try using an RGBA colour using the Alpha (A) setting to change the opacity. e.g.
.transparent-style{    background-color: rgba(255, 255, 255, .4);
}
Using RGBA over opacity means that your child elements are not transparent.


You can specify value to background-color using rgba(), as:
.style{        background-color: rgba(100, 100, 100, 0.5);
}
0.5 is the transparency value
0.5 is more like semi-transparent, changing the value from 0.5 to 0 gave me true transparency.


ere, instead of making navigation bar transparent, remove any color attributes from the navigation bar to make the background visible.
Strangely, I came across this thinking that I needed a transparent color, but all I needed is to remove the color attributes.
.some-class{    background-color: #fafafa; 
}
to
.some-class{
}


All you need is this:
#ffffff00
Here the ffffff is the color and 00 is the transparency
Also, if you want 50% transparent of a color, then sure you can do... #ffffff50
And since in transparent we want 0 opacity, we write 00


0
Add comment
Name:*
E-Mail:


reload, if the code cannot be seen
(↑) Write code
www.northkoala.com
Attantion! Stay Home..! Stay Home..! Stay Home..! Stay Home..!
Famous Quotes for you

"Life is what happens when you're busy making other plans." -John Lennon


Last Comments
Follow us
Flag's Cloud
Flag Counter

WELLCOME TO NORTHKOALA.COM!

Sign in for a closer look at the website
Regstration
Create your own account!

Regster
Sign in
Already registered? Very nice, just sign in!

Enter Website