Hexadecimals and Alpha Channels Made Easy

Why are colors are written as numbers and letters?

This topic can be really confusing at first, but it’s important for any digital artist to understand. By the end of this article, however, you’ll be reading HEX values like a pro.

The Basics
Whatever color you see on a computer is made out of only 3 colors: Red, Green, and Blue (RGB for short). Mixing these colors together in different proportions will produce new colors. If I have three buckets of light, each containing an amount of the basic colors Red, Green, and Blue, and I pour them together in a forth bucket and mix it all together, it will become a different color.

RGB Red Green Blue
In this example, the purple color is a mix of 70 % Red (of the buckets’ volume), 12% Green (of the buckets’ volume), and 85% Blue (of the buckets’ volume). If we want to write this in a short way to give the purple color a number, referring to the basic RGB colors, we could do it like this:

Purple Color Number = 701285

Pretty simple so far, we’re just smashing the three numbers together.

Advertisement