← All gradients
35%How it works
Rockstar Games ↗

GTA 6 Midnight Drive-Inspired Gradient

#0B1026
#27306E
#E0457B
Text readability
Brand Dark Media

GTA 6 Midnight Drive-Inspired Gradient is a dark 3-colour linear gradient that runs from near-black (#0B1026) through blue (#27306E) to pink (#E0457B) at 170°. It is inspired by Rockstar Games’s brand colours, a reference point for media interfaces. White text reads best on it, at a contrast ratio of 10.7:1 against the gradient’s average colour (AAA). Check every point, not just the average →

Unofficial reference: inspired by Rockstar Games’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Rockstar Games. Rockstar Games is a trademark of its owner. The CSS is free to use, but don’t use these colours to make your own product look like Rockstar Games’s. Terms

CSS
background: linear-gradient(170deg, #0B1026, #27306E, #E0457B);
Tailwind
bg-[linear-gradient(170deg,#0B1026,#27306E,#E0457B)]
Figma token
{
    "gta-6-midnight-drive-inspired": {
        "value": "linear-gradient(170deg, #0B1026 0%, #27306E 50%, #E0457B 100%)",
        "type": "color"
    }
}

GTA 6 Midnight Drive-Inspired Gradient for SwiftUI, Flutter, Android and more

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

let gta6MidnightDriveInspiredGradient = LinearGradient(
    colors: [
        Color(red: 0.043, green: 0.063, blue: 0.149),
        Color(red: 0.153, green: 0.188, blue: 0.431),
        Color(red: 0.878, green: 0.271, blue: 0.482)
    ],
    startPoint: UnitPoint(x: 0.412, y: 0),
    endPoint: UnitPoint(x: 0.588, y: 1)
)

// Usage
Rectangle().fill(gta6MidnightDriveInspiredGradient)

Colours in the GTA 6 Midnight Drive-Inspired Gradient

StopNameHEXRGBHSL
1Near-black#0B1026rgb(11, 16, 38)hsl(229, 55%, 10%)
2Blue#27306Ergb(39, 48, 110)hsl(232, 48%, 29%)
3Pink#E0457Brgb(224, 69, 123)hsl(339, 71%, 57%)

GTA 6 Midnight Drive-Inspired Gradient in use

Build something beautifulA hero section on the GTA 6 Midnight Drive-Inspired GradientGet started
Button
Card accentAs a border or progress bar
Gradient text

GTA 6 Midnight Drive-Inspired 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 GTA 6 Midnight Drive-Inspired Gradient?

The GTA 6 Midnight Drive-Inspired Gradient uses 3 colours: #0B1026, #27306E and #E0457B, at an angle of 170°.

How do I use the GTA 6 Midnight Drive-Inspired Gradient in CSS?

Paste background: linear-gradient(170deg, #0B1026, #27306E, #E0457B); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the GTA 6 Midnight Drive-Inspired Gradient?

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