Colors in digital design are represented in two primary formats: **HEX and RGB**. The **HEX code** is a six-character code (#RRGGBB) representing Red, Green, and Blue values in hexadecimal. The **RGB format** defines colors using three numerical values (R, G, B) ranging from **0 to 255**.