#EDEDED
is actually the Hex color code for Transparency, so if you want any background to be transparent especially in Images, you can apply this there.Example of usage
In CSS, it might work depending on various factors such as computer type or browser type.
body {
color: black;
background-color: transparent;
}
Above some browsers doesn’t detect the transparent value, only if that didn’t work,
so you should do this instead.
body {
color: black;
background-color: #EDEDED;
}
The above actually gives you a transparent background only in images(esp dot png),
because i tried it and it worked but it also depends on your computer as well. but i
also tried this in CSS and for some it worked and others it did not, but mostly, you
can apply this on an image to get a transparent background. try it out.
For images simple just select the color for background and add the RGB color number which is R:237 , G:237 B:237 ; if the image program you’re using doesn’t have an input for Hex or RGB, you can input the number for Hue, Sat and Lum. (Hue:160, Sat:0 and Lum:223.)
Most Application wouldn’t even define this properly when using Hue, Sat and Lum, so the RGB is much more better to use.
I didn’t know that the Hex for transparency was #ededed, i tried this for an image, and it actually works. I think this works with images only, tried it on css but the value wasn’t the background i wanted.
body {
color: black;
background-color: #EDEDED;
}
for this instances….that Ive encountered..I used CSS for all the Designs..actually having images with transparent backgrounds are in PNG form..you can set transparent BG for all of your images by using ADOBE PHOTOSHOP then save it as PNG file…or you can use EYEDROPPER or WEBTOOLKIT for copying the exact hex code of a particular area.. for this case the resulting link has a default border color …you can removed this by using CSS code … for ex. #layout img{
border-style:none;}
thank you this work well with my
Sorry but that doesn’t sound right. #EDEDED is the hex for a light shade of grey. I don’t see why a browser would interpret that as transparent. I mean, how transparent?! For transparency you can use rgba(237, 237, 237, 0.3) for the same light grey where 0.3 is the opacity. If you wanted the background to be completely transparent then just don’t set a background colour at all.
Yes you are correct but I believe i mentioned mostly on images dot png files. However not sure if it was a fluke error or probably the programs i used back then.