HTML colors are defined using hexadecimal notation, typically as a six-digit code like #FF0000 for red. The hex code represents the RGB (Red, Green, Blue) values: two digits for each color component (00-FF, or 0-255 in decimal). This is the standard color specification system in HTML and CSS.