HexCodes
Hex codes, short for hexadecimal color codes, are a common way to specify colors in computing and digital media. They encode red, green, and blue components of a color in base-16 notation, typically as a six-digit string preceded by a hash sign, for example #RRGGBB. Each pair of hex digits ranges from 00 to FF, corresponding to intensity values from 0 to 255.
The standard form uses six digits. A three-digit shorthand is also supported in many contexts, where #RGB
Some environments support alpha transparency via extended hex forms such as #RRGGBBAA (or the shorthand #RGBA
Common usage includes color specification in web design (CSS), graphics software, and design tokens. Examples: color:
Notes: hex codes are portable across platforms but should be used with accessibility in mind, ensuring sufficient