#FFFFFF
white
#FFFFFF is a white colour. In RGB it is 255 red, 255 green and 255 blue, which converts to a hue of 0 degrees, 0% saturation and 100% lightness. It is one of the named CSS colours, written as white in stylesheets.
Color values
| HEX | #FFFFFF |
|---|---|
| RGB | rgb(255, 255, 255) |
| HSL | hsl(0, 0%, 100%) |
| HSV | hsv(0, 0%, 100%) |
| CMYK | cmyk(0%, 0%, 0%, 0%) |
Contrast and accessibility
Against white the contrast ratio is 1:1, and against black it is 21:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 1:1 | Fail | Fail |
| Black | 21:1 | AAA | AAA |
Tints and shades
Lighter tints move #FFFFFF toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #FFFFFF; |
|---|---|
| CSS rgb() | color: rgb(255 255 255); |
| Tailwind | bg-[#ffffff] |
| SwiftUI | Color(red: 1.000, green: 1.000, blue: 1.000) |
| Android | Color.parseColor("#FFFFFF") |