White Color Codes: #FFFFFF in Every Format

#FFFFFF

Pure white in every color format

FormatValueUsed inCopy
HEX#FFFFFFCSS, HTML, design tools
HEX (short)#FFFCSS shorthand
CSS keywordwhiteCSS
RGBrgb(255 255 255)CSS (modern syntax)
RGB (legacy)rgb(255, 255, 255)CSS, most apps
RGB decimal1.0, 1.0, 1.0Shaders, Blender, Swift/UIColor
HSLhsl(0 0% 100%)CSS
HSV / HSB0°, 0%, 100%Photoshop, Figma picker
HWBhwb(0 100% 0%)CSS
OKLCHoklch(1 0 0)Modern CSS
CIELABlab(100 0 0)Color science, print
CMYK0%, 0%, 0%, 0%Print: no ink, paper shows through
Integer16777215Some APIs, Discord embeds
0x notation0xFFFFFFCode: C, JS, Python
ARGB / 8-digit#FFFFFFFFAndroid, CSS with alpha
Pantone (closest)11-0601 TCX Bright WhitePrint & textile, approximate
RAL (closest)RAL 9010 Pure White / RAL 9016 Traffic WhitePaint, approximate

Pantone and RAL values are the closest standard whites. Physical color systems can't match an emissive screen white exactly.

Off-white and near-white codes

Pure white is not always the best choice. A slightly warm or cool off-white can feel softer on the eyes, look more premium, or match a brand. Every shade below keeps near-black text (#18181B) far above the WCAG AAA 7:1 threshold. The "View" link opens each one as a full screen.

NameHEXRGB#18181B textGood forActions
Pure White#FFFFFF255, 255, 25517.71:1Maximum brightness; e-commerce product shots, UI surfaces View
Zinc 50 / near-white#FAFAFA250, 250, 25016.97:1App backgrounds under white cards View
White Smoke#F5F5F5245, 245, 24516.25:1Section backgrounds, subtle panels View
Ghost White#F8F8FF248, 248, 25516.75:1Cool, slightly blue white View
Snow#FFFAFA255, 250, 25017.13:1Barely warm white View
Paper#FDFBF7253, 251, 24717.14:1Long reading, softer than pure white View
Cream#FAF7F0250, 247, 24016.55:1Dyslexia-friendly, reading apps View
Ivory#FFFFF0255, 255, 24017.56:1Warm, vintage feel View
Floral White#FFFAF0255, 250, 24017.02:1Warm, invitations and print mockups View
Linen#FAF0E6250, 240, 23015.75:1Warm neutral for lifestyle brands View
Alice Blue#F0F8FF240, 248, 25516.51:1Cool, clinical, tech View
Beige#F5F5DC245, 245, 22016.0:1Earthy neutral (noticeably tinted) View

Using white in CSS

CSS
:root {
  --bg: #FFFFFF;          /* pure white */
  --bg-soft: #FAFAFA;     /* page background under white cards */
  --text: #18181B;        /* 17.72:1 on white */
  --text-muted: #595959;  /* 7:1 on white, AAA */
  color-scheme: light dark;
}

body {
  background: var(--bg);
  color: var(--text);
}

@media (prefers-color-scheme: dark) {
  :root { --bg: #0F0F10; --bg-soft: #18181B; --text: #F4F4F5; --text-muted: #A1A1AA; }
}

More ready-made styles for white designs (shadows, borders, glass) are in the CSS snippet library.

White color code FAQ

#FFFFFF (short form #FFF). It means red, green and blue are all at their maximum of 255, the brightest color a screen can show.

rgb(255, 255, 255). In decimal (0–1) notation, used in shaders and some apps, it's 1.0, 1.0, 1.0.

0, 0, 0, 0: no ink at all. In print, "white" is simply the paper, so how white it looks depends on the paper stock. White ink is a special spot color.

Pure #FFFFFF is the standard and gives the most contrast. For long reading or to reduce glare, a very light off-white like #FAFAFA (neutral) or #FDFBF7 (warm) looks softer. Check that your text still passes at least 4.5:1 with the contrast checker.

Marketplaces like Amazon require the main image background to be pure white, RGB 255, 255, 255 (#FFFFFF). A background that is only nearly white (e.g. 250, 250, 250) can make the image look grey next to other listings. See the photography guide.

Yes. The CSS keyword white, #FFF, #FFFFFF, rgb(255 255 255), hsl(0 0% 100%) and oklch(1 0 0) all produce exactly the same color.