KIRUPA 🍊
KIRUPA 🍊
HomeArchiveLeaderboardAbout
Sign in

Putting the Hex in Hexadecimal! 🧙

KIRUPA 🍊's avatar
KIRUPA 🍊
Jan 28

 

Hi, *|USERNAME|*!

For a variety of historical reasons, our computers don't always deal with numbers the same way us humans do. We tend to count in base-10 or decimals using numbers like 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. Our computers count in a variety of different ways. They count in binary through 0's and 1's or in hexadecimal (or hex) with the numbers 0 through 9 followed by A for 10, B for 11, C for 12, D for 13, E for 14, and F for 15. There are other number formats our computers count in, but binary and hex take the top prizes. Of these two, hex takes the toppest prize for us as web developers given how prevalent this number format is in our neck of the woods (🌳):




Knowing how to work with hex values should be an important part of your toolset. To help with this knowing, in my most recent article, Counting in Hexadecimal, I walk through what hex values are and how to jump between them and our (more) familiar decimal values. If you never learned how to count in hexadecimal, make 0x7E4 the year you change that! 🦖

TILL NEXT TIME!


As always, before I leave you to it, I would love to hear from you on things I can do better, topics you'd like me to write about, and more. Don't be shy! The easiest way to contact me is via Twitter or by posting on the forums like it is 1999.

Cheers,
Kirupa 😃

Discussion about this post

User's avatar

Keep reading

KIRUPA 🍊

Thought provoking and educational content that lives at the intersection of design 🎨, development 🤖, and business 💰.

  • About
  • Archive
  • Recommendations
  • Sitemap
© 2026 KIRUPA 🍊 · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for writing, podcasting, and media founders.