Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Colordepth

  1. #1
    Regular Coder
    Join Date
    Oct 2002
    Posts
    299
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Colordepth

    Hi,

    What does colordepth do exactly?

    Can I put it like this:

    BODY{colordepth:high;}

    Thanks,
    Jerome

  • #2
    Regular Coder
    Join Date
    Nov 2002
    Location
    Bristol, UK
    Posts
    932
    Thanks
    0
    Thanked 0 Times in 0 Posts
    no

    colordepth is how many bits your computer is using to make its display

    for instance:

    8 bit = 2^8 = 256
    16 bit = 2^16 = 65536
    24 bit = 2^24 = 16777216
    32 bit = 2^32 = 4294967296

    so if you are using 24 bit colour, you will have 16.7million colours available to choose from

    you cannot SET it on your website because it is how the user's computer is set up

    but you can detect it if you are interested

    ::] krycek [::
    ithium | SOAPI | SDP | PTPScript manual
    "ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."

  • #3
    Regular Coder
    Join Date
    Sep 2002
    Location
    Louisiana
    Posts
    576
    Thanks
    0
    Thanked 0 Times in 0 Posts
    my input, you are right, but just if anyone was wondering, you can test colour depth with javascript
    screen.colorDepth

  • #4
    Regular Coder
    Join Date
    Nov 2002
    Location
    Bristol, UK
    Posts
    932
    Thanks
    0
    Thanked 0 Times in 0 Posts
    heheh yeah I should have said that

    good call chris

    ::] krycek [::
    ithium | SOAPI | SDP | PTPScript manual
    "ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."

  • #5
    Regular Coder
    Join Date
    Oct 2002
    Posts
    299
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks,

    what I was wondering however is

    when I make a background with paintshop pro, the colors look different on my site (viewed with IE 5.0)

    Even when I use an already existing background from another site and I use it for my own site the colors are a little different?

    I put in a seperate file:

    body{background:#000000 url(bg.gif)}

    I do not feel I miss something, do I?

    Thanks,
    Jerome


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •