CSS named colour
Linen
#faf0e6
A CSS named colour: linen is valid anywhere a colour is expected.
- RGB
- rgb(250 240 230)
- HSL
- 30°, 67%, 94%
- OKLCh
- 96.0% 0.017 67.6
Linen in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #faf0e6 | |
|---|---|---|
| RGB | rgb(250 240 230) | |
| RGB legacy | rgb(250, 240, 230) | |
| RGB percent | rgb(98.04% 94.12% 90.2%) | |
| HSL | hsl(30 66.7% 94.1%) | |
| HSL legacy | hsl(30, 66.7%, 94.1%) | |
| HSV / HSB | hsv(30, 8%, 98%) | |
| HWB | hwb(30 90.2% 2%) | |
| Nearest name | linen | |
| CMYK | cmyk(0%, 4%, 8%, 2%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(96.024% 0.01715 67.622)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(96.024% 0.00653 0.01586) | |
| CIE LCh | lch(95.385% 6.505 69.926) | |
| CIE Lab | lab(95.385% 2.233 6.11) | |
| Display P3 | color(display-p3 0.9736 0.9425 0.9063) | |
| Rec. 2020 | color(rec2020 0.96 0.9366 0.8956) | |
| srgb-linear | color(srgb-linear 0.956 0.8714 0.7913)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.8486 0.8836 0.8745) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.98, 0.941, 0.902)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.956, 0.871, 0.791)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.98, 0.941, 0.902, 1.0) | |
| GLSL vec4 — linear | vec4(0.956, 0.871, 0.791, 1.0) | |
| GLSL ivec3 | ivec3(250, 240, 230) | |
| HLSL float3 — sRGB | float3(0.98, 0.941, 0.902) | |
| HLSL float3 — linear | float3(0.956, 0.871, 0.791) | |
| HLSL float4 — sRGB | float4(0.98, 0.941, 0.902, 1.0) | |
| HLSL half4 — sRGB | half4(0.98, 0.941, 0.902, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.98, 0.941, 0.902) | |
| WGSL vec4f — sRGB | vec4f(0.98, 0.941, 0.902, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.956, 0.871, 0.791) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.98f, 0.941f, 0.902f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(250, 240, 230, 255) | |
| Unreal FLinearColor | FLinearColor(0.956f, 0.8714f, 0.7913f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(250, 240, 230, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.98, 0.941, 0.902, 1) | |
| Flutter Color | Color(0xFFFAF0E6)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(250, 240, 230) | |
| SwiftUI Color | Color(red: 0.98, green: 0.941, blue: 0.902) | |
| UIKit UIColor | UIColor(red: 0.98, green: 0.941, blue: 0.902, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xFAF0E6 | |
|---|---|---|
| 0x hex (ARGB) | 0xFFFAF0E6 | |
| Array 0–1 | [0.98, 0.941, 0.902] | |
| Array 0–255 | [250, 240, 230] | |
| Decimal integer | 16445670 |
Contrast and accessibility
WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Linen on white | 1.12:1 | Fail | Lc 0 | Not usable for text |
| Linen on black | 18.67:1 | AAA | Lc 99 | Body text at any size |
Linen text on a white background
Linen text on a black background
White text on Linen
Black text on Linen
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#fef6ef
- 100#f4ece4
- 200#e3dbd3
- 300#cdc4bb
- 400#b1a89e
- 500#938a80
- 600#787067
- 700#615952
- 800#4d463f
- 900#3d3731
- 950#231e1a
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#fbf2ea
- Tint 2#fcf5ee
- Tint 3#fdf7f2
- Tint 4#fdfaf7
- Tint 5#fefcfb
- Shade 1#c4bcb4
- Shade 2#918b85
- Shade 3#615d59
- Shade 4#353230
- Shade 5#0e0d0c
Colours that work with Linen
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #e9f3fd
- #e6f6f4
- #f5effb
- #fdeeea
- #f5f2e5
Closest CSS names
linenexact matcholdlaceΔEok 0.014seashellΔEok 0.016antiquewhiteΔEok 0.020whitesmokeΔEok 0.020papayawhipΔEok 0.022