Hexadecimal Tutorial.

  • Felix
    21st Nov 2010 Member 0 Permalink
    HeyJD:
    Felix
    Well in html, CSS, it's best to use hex colours because it's more precise for the browsers need. If you just type 'colour:blue' it won't be the same in every browser. But if you type it in hex. Then you've got a precise colour for all browsers

    And what does that have to do with "hex colors"? The reason why blue and such colors differs from browser to browser is because they are customisable in most browsers.

    You guys have to learn the difference between data and how it is represented.
  • Neospector
    21st Nov 2010 Member 0 Permalink
    Felix
    No...HeyJD got it right. You want each color as precise as possible, and not to differ from browser to browser so each person sees the same thing. You wouldn't want to see the Mona Lisa green on TV and brown on the internet, would you? That's why Hex Colors come in, to make things exactly the same.
  • Felix
    21st Nov 2010 Member 0 Permalink
    Neospector:
    Felix
    No...HeyJD got it right. You want each color as precise as possible, and not to differ from browser to browser so each person sees the same thing. You wouldn't want to see the Mona Lisa green on TV and brown on the internet, would you? That's why Hex Colors come in, to make things exactly the same.

    Did I say he didn't?
  • Neospector
    21st Nov 2010 Member 0 Permalink
    Felix
    Felix:
    And what does that have to do with "hex colors"? The reason why blue and such colors differs from browser to browser is because they are customisable in most browsers.

    You guys have to learn the difference between data and how it is represented.

    I think you did.
  • Felix
    21st Nov 2010 Member 0 Permalink
    Neospector:
    Felix
    Felix:
    And what does that have to do with "hex colors"? The reason why blue and such colors differs from browser to browser is because they are customisable in most browsers.

    You guys have to learn the difference between data and how it is represented.

    I think you did.

    Really? I beg to differ.

    This is about powder toy, I don't care how web browsers render colors. That most people are using TN-panels makes it useless, since it will never look the same on two different monitors anyway.
  • Xenocide
    21st Nov 2010 Former Staff 0 Permalink
    you can use RGB in CSS2/3 instead of hex and get the same degree of accuracy.

    Only difference with base10 and base16 is exactly that. If you set the code up properly you could probably use base64 for the colours if you wanted to with the same accuracy. Both online and in TPT and anywhere else you decide to use colours.
  • Diissaster
    21st Nov 2010 Member 0 Permalink
    RGB and Hexadecimal are different ways of saying the same thing.
    <DIV style="position: absolute; top:0px; left:0px; width:10px; height:10px; background-color: #FF0000></DIV>
    Is the same as:
    <DIV style="position: absolute; top:0px; left:0px; width:10px; height:10px; background-color: rgb( 255, 0, 0)></DIV>
    RGB and hexadecimal are both 24bit in colour(known as 'true colour').
  • Felix
    21st Nov 2010 Member 0 Permalink
    I think we already concluded that.
  • Diissaster
    21st Nov 2010 Member 0 Permalink
    kind of, but not really, so i made it clear.