Transparent hex code?

Discussion in 'Web Design & Coding' started by Scalfaro, May 27, 2003.

  1. Scalfaro

    Scalfaro Guest

    Is there an HTML hex code (I think that's what it's called) for a transparent background colour?

    ...something I can use the same way as #FFFFFF for white and #000000 for black?

    Thanks for any help. :)
  2. SPeedY_B

    SPeedY_B I may actually be insane.

    Midlands, England
    It depends what you want to make transparent.

    you can make a div transparent by using this for example
    <div style="background-color: transparent;">blah blah</div>
  3. Scalfaro

    Scalfaro Guest

    I want the background colour for my little Google search box for my active desktop to be it doesn't cover the image...

    The part of the coding with the background colour is

    bgcol : '######';

    I just change the numbers to 'transparent'?
  4. thebear

    thebear d(-.-)b

    Toronto, Canadia
    unless your entire desktop is an active desktop, it is not possible as the box for google is similar to an Internet Explorer window, making it impossible to mkae transparent. (though through a load of reshacking it may be possible to make everything in the box transparent)
  5. Zedric

    Zedric NTFS Guru Folding Team

    No, there is no hex code for transparent. They code is #XXYYZZ wher XX is red, YY is green and ZZ is blue. There would have to be a fourth pair in order to make transparency.
  6. Scalfaro

    Scalfaro Guest

    Okay...thanks anyway. I'll find a way around it. :)