← All gradients
35%How it works
UI

Table Header

#F9FAFB
#F3F4F6
Text readability
Ui NeutralPastel

Table Header is a neutral and pastel 2-colour linear gradient that runs from off-white (#F9FAFB) to off-white (#F3F4F6) at 180°. It suits subtle surfaces and app backgrounds and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 19.6:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(180deg, #F9FAFB, #F3F4F6);
Tailwind
bg-gradient-to-b from-[#F9FAFB] to-[#F3F4F6]
Figma token
{
    "table-header": {
        "value": "linear-gradient(180deg, #F9FAFB 0%, #F3F4F6 100%)",
        "type": "color"
    }
}

Table Header gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let tableHeaderGradient = LinearGradient(
    colors: [
        Color(red: 0.976, green: 0.98, blue: 0.984),
        Color(red: 0.953, green: 0.957, blue: 0.965)
    ],
    startPoint: UnitPoint(x: 0.5, y: 0),
    endPoint: UnitPoint(x: 0.5, y: 1)
)

// Usage
Rectangle().fill(tableHeaderGradient)

Colours in the Table Header gradient

StopNameHEXRGBHSL
1Off-white#F9FAFBrgb(249, 250, 251)hsl(210, 20%, 98%)
2Off-white#F3F4F6rgb(243, 244, 246)hsl(220, 14%, 96%)

Table Header gradient in use

Build something beautifulA hero section on the Table Header gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Table Header gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the Table Header gradient?

The Table Header gradient uses 2 colours: #F9FAFB and #F3F4F6, at an angle of 180°.

How do I use the Table Header gradient in CSS?

Paste background: linear-gradient(180deg, #F9FAFB, #F3F4F6); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Table Header gradient?

Black text has the best contrast, at 19.6:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.