Hexadecimal code is the standard notation for expressing colors in CSS. It is an easy way to specify a color without using RGB values. Hexadecimal codes are also commonly used when specifying color names or creating palettes with different shades of one color.