DEV Community

Play Button Pause Button
Vaidehi Joshi for The DEV Team

Posted on

BaseCS: Making Sense of the Rainbow

Today's episode of BaseCS explores hexadecimals!

In this episode, we dive into the base 16 number system, and learn how to count with 16 different digits. We learn how to represent one number in three different number systems—base 2, base 10, and base 16—and see how they compare to one another. We then explore color theory, and learn how hexadecimals are closely tied to hex color codes and the RGB color model. Finally, we'll bring it all together by looking at how CSS hex codes and the rgb() function allow us to represent colors while using hexadecimals under the hood!

This whole series is sponsored by Heroku. A special thank you to Heroku for their ongoing support!

Top comments (2)

shenwen_wu_3db7e70fadb909 profile image
shenwen wu

HI, I am new member of this and Currently working as a software engineer in a knitwear manufacturers, I hope to learn more about code here and contribute more code to the Dev community in the future.

jmknitwear profile image
JM Knitwear

HI, Currently I am new member of this and I came across to your post and found it much interesting. Currently I am working in pullover manufacturer company as an IT Head and looking forward for more from you.