# Hex color

A color written as # plus six digits for red, green and blue.

## What is a **hex color**?

A **hex color** is written as `#` plus six hex digits: two each for red, green and blue.

```css
.logo { color: #ff6600; }   /* orange: lots of red, some green, no blue */
```

Level: Novice · [More CSS terms at this level](https://www.ask-codey.com/glossary/subjects/css/novice)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/hex-color
