Understanding Hexadecimal (including HTML/CSS color codes)

Поделиться
HTML-код
  • Опубликовано: 5 ноя 2024

Комментарии • 36

  • @karthibalaji3817
    @karthibalaji3817 5 лет назад +17

    Whenever Gary uploads something ! abruptly my hand will hits the like button and watch the video...

    • @1MarkKeller
      @1MarkKeller 5 лет назад +2

      Agreed!

    • @wiredtech6082
      @wiredtech6082 5 лет назад

      Hay please support me world's best cheap keyboard and mouse set is coming soon

  • @Standbackforscience
    @Standbackforscience 5 лет назад +7

    Congrats on breaking 100K subs!

  • @JoeWong81
    @JoeWong81 5 лет назад +2

    Thanks a lot for that refresher Gary!!
    next time please do a tutorial on binary bit manipulation as this is a popular topic on technical interviews.

  • @vaibhavdabwalv1
    @vaibhavdabwalv1 5 лет назад +6

    I was watching an video about how minus world glitches in Mario Bros were caused by change in hexadecimal values.
    Now I can fully understand why they meant.
    Thanks Gary

  • @pooyafitness
    @pooyafitness 5 лет назад +1

    Thank you. I knew it in school but I had forgotten about it

  • @johnbamber7374
    @johnbamber7374 5 лет назад +1

    I'm getting 271 for 0xFE when I do the math[(16×16¹)+(15×16⁰)], what am I doing wrong?

  • @1MarkKeller
    @1MarkKeller 5 лет назад +2

    *GARY!!!*
    *Good Evening Professor!*
    *Good Evening Fellow Classmates!*

  • @felixmuchiri118
    @felixmuchiri118 5 лет назад +1

    interesting never really thought about anything past binary codes.
    hey Garry, can we have more speed test G comparisons with more midrangers since in our markets, no one really buys flagships. take the best selling midrangers and budget devices once in a while, like the redmi note 7 pro vs real me 3 pro, the real me 3 vs redmi note 7, Samsung A20, vs A30 vs A50 vs huawei and honor devices vs nokia etc. as we've seen flagships mostly have the snapdragon 855 and perform generally the same, it would be interesting to see this budget phones that pack snapdragons, exnos, mediatek and kirin processors with different nodes and different ARM designs generatons with different GPUs to boot. please please do this for us!

  • @DodoGTA
    @DodoGTA 5 лет назад +3

    0-9 and A-F
    0xFF=255
    0x00=0

  • @autohmae
    @autohmae 5 лет назад

    What I'm missing in this explanation is the bits representation, showing the individual bits.
    Seeing why a byte is FF would have been really useful as part of the explanation I think.
    Also you mentioned CSS and called it: Style Script, but it's called: (Cascading) Style Sheet.

  • @1nxpired
    @1nxpired 5 лет назад +3

    I can look at that cursor all day xD

    • @1MarkKeller
      @1MarkKeller 5 лет назад +1

      My cat says, "Welcome to my world of laser pointers"

  • @Speak_Out_and_Remove_All_Doubt
    @Speak_Out_and_Remove_All_Doubt 5 лет назад +1

    Why did they choose to add 6 symbols after the 10 numbers? Why not more than 6 if it makes bigger numbers take up less space?

    • @divingradish
      @divingradish 5 лет назад +2

      1 hex digit is representing 4 bits of binary number. It is take up less space to write in the context of computer world.
      I believe it is common for people to work with half of a byte (low bits/high bits) in computer world, so it is kinda practical.

  • @robertlawrence9000
    @robertlawrence9000 5 лет назад

    I have to use this at work sometimes for addressing. Nice explanation but I'm sure it's over many peoples heads. I don't use it often so when I do I have to stop and think about it.

  • @kishanramani
    @kishanramani 5 лет назад

    Good video, I enjoyed it , thanks

  • @pweddy1
    @pweddy1 5 лет назад

    Now that we are moving to 10,10,10 bit color depth this will start to make less sense to use hex in HTML. It's really only tidy to use hex on multiples of 4 bits. Just like it was only tidy to use octal on DEC machines that has word sizes like 18bits.

    • @GaryExplains
      @GaryExplains  5 лет назад +1

      Even at 10 bits it is still better to use hex than decimal. 12 bits is 3 hex digits, so moving to that would work for 10 bit and provide future proofing.

  • @soraaoixxthebluesky
    @soraaoixxthebluesky 5 лет назад +1

    Why does 0x0 thing looks somewhat similar to assembly language. I might be wrong tho.

    • @vladutcornel
      @vladutcornel 5 лет назад +3

      An Assembly language is just a form of textual representation of machine code, which is binary (1 and 0).
      Converting from base 2 to base 16 and back is very easy (See Michael's table above).
      Operators are tipicaly replaced by keywords (That's why you see something like "ADD 69 9F", not "A6 69 9F" - I don't actually know the x86 instructions).

    • @soraaoixxthebluesky
      @soraaoixxthebluesky 5 лет назад

      Thank for all of you guys replies.

  • @manasaurs5634
    @manasaurs5634 5 лет назад

    I need html code for input type as hexadecimal

  • @MiMi-zf7gd
    @MiMi-zf7gd 3 года назад +1

    I feel like im stupid af cause I can't comprehend this all I hear is numbers and letters 😎👌

  • @MrMysticphantom
    @MrMysticphantom 5 лет назад +1

    Who remembers when IPv6 was meant to be the rage and give every toaster its own unique ip address... then..... didnt reaaaally happen as much except with the big tech who are also on the forefront (so..not oracle) like Google & MS

  • @odd07
    @odd07 3 года назад

    good

  • @YounesLayachi
    @YounesLayachi 5 лет назад

    Hecks 'a decimal !

  • @draa0gon
    @draa0gon 5 лет назад +1

    Please
    O N E E T E R N I T Y L A T E R
    let me explain.

  • @YounesLayachi
    @YounesLayachi 5 лет назад

    It irritates me whenever apps don't use hex for colour coding

  • @sydmichel
    @sydmichel 5 лет назад

    As you sound English, I'd like to point out that you have spelled Colour wrong in the description.

  • @myZAN
    @myZAN 5 лет назад

    Come on. More Speed Test G. At least Android-x86 running in a x86 machine vs flagship phones.