CSS named color

Linen #FAF0E6

linen rgb(250, 240, 230)

Linen is a pale orange with the hex code #FAF0E6, which converts to rgb(250, 240, 230). Open #FAF0E6 in the converter to tweak it.

Linen color values

HEX#FAF0E6
HEX (shorthand)—
RGBrgb(250, 240, 230)
RGBArgba(250, 240, 230, 1)
8-digit HEX#FAF0E6FF
HSLhsl(30, 67%, 94%)
HSV / HSB30°, 8%, 98%
CMYK0%, 4%, 8%, 2%
RGB 0–10.98, 0.941, 0.902
Decimal16445670
CSS keywordlinen

How #FAF0E6 converts to RGB

Split the hex code into three pairs and read each pair as a base-16 number: FA → 250, F0 → 240, E6 → 230. That gives rgb(250, 240, 230). The step-by-step guide explains the math.

Shades of Linen

Mixed toward black in 10% steps. Click a swatch to copy its hex.

Tints of Linen

Mixed toward white in 10% steps.

Color harmonies

Hue rotations of Linen on the HSL color wheel, keeping saturation and lightness fixed. The color harmony guide explains when each scheme works.

Complementary

Analogous

Split-complementary

Triadic

Tetradic (square)

Contrast and accessibility

TextBackgroundRatioWCAG 2.x
White Linen 1.12:1Fail
Black Linen 18.67:1AAA

Use black text on a linen background. Test any other pair in the contrast checker; thresholds are explained in the WCAG contrast guide.

Use Linen in CSS

.element {
  color: linen;                         /* keyword */
  background-color: #FAF0E6;            /* hex */
  border-color: rgb(250 240 230 / 50%);    /* 50% transparent */
}

Need it semi-transparent? Append an alpha byte: #FAF0E680 is Linen at 50% opacity. See RGBA & transparency.

Similar named colors

FAQ

What is the HEX code for Linen?

The CSS named color linen is #FAF0E6 in hexadecimal. In CSS you can write color: linen; or color: #FAF0E6; — both produce the same pixel.

What is Linen in RGB?

Linen is rgb(250, 240, 230): red 250, green 240, blue 230 on the 0–255 scale. As normalized 0–1 floats that is (0.98, 0.941, 0.902).

Is white or black text more readable on Linen?

Black text is more readable. White on #FAF0E6 has a contrast ratio of 1.12:1 (Fail), black on #FAF0E6 has 18.67:1 (AAA). WCAG AA needs 4.5:1 for normal text.

Copied!