White to RGB — Color Code

RGB

rgb(255, 255, 255)

Format Value
HEX #ffffff
RGB rgb(255, 255, 255)
HSL hsl(0, 0%, 100%)
CMYK cmyk(0%, 0%, 0%, 0%)

Related calculators

What is the RGB code for white?

The CSS color white in RGB format is rgb(255, 255, 255). Use this value directly in CSS, SVG, and most design tools.

How do I use white in CSS?

To apply white in CSS:

  • Text color: color: rgb(255, 255, 255);
  • Background: background-color: rgb(255, 255, 255);
  • Border: border-color: rgb(255, 255, 255);

What are all the color format values for white?

FormatValue
HEX#ffffff
RGBrgb(255, 255, 255)
HSLhsl(0, 0%, 100%)
CMYKcmyk(0%, 0%, 0%, 0%)

How do I convert white to RGB?

Select white from the color name list in our color converter. The RGB value — rgb(255, 255, 255) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does white belong to?

white belongs to the neutral (gray) color family. It is a light, muted color with HSL values: hue 0°, saturation 0%, lightness 100%.

How do I create lighter and darker shades of white?

Lighter variant (lightness 95%): #f2f2f2. Darker variant (lightness 85%): #d9d9d9. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is RGB used for?

RGB defines colors using three values from 0 to 255 — red, green and blue intensity. It is the native format for screens, monitors and web browsers.