#1F4D3A
#4E9F6B
#E8D48A
GTA 6 Swamp-Inspired Gradient is a dark 3-colour linear gradient that runs from deep green (#1F4D3A) through green (#4E9F6B) to light yellow (#E8D48A) at 160°. It is inspired by Rockstar Games’s brand colours, a reference point for media interfaces. Black text reads best on it, at a contrast ratio of 6.2:1 against the gradient’s average colour (AA). 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
background: linear-gradient(160deg, #1F4D3A, #4E9F6B, #E8D48A);
bg-[linear-gradient(160deg,#1F4D3A,#4E9F6B,#E8D48A)]
{
"gta-6-swamp-inspired": {
"value": "linear-gradient(160deg, #1F4D3A 0%, #4E9F6B 50%, #E8D48A 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let gta6SwampInspiredGradient = LinearGradient(
colors: [
Color(red: 0.122, green: 0.302, blue: 0.227),
Color(red: 0.306, green: 0.624, blue: 0.42),
Color(red: 0.91, green: 0.831, blue: 0.541)
],
startPoint: UnitPoint(x: 0.318, y: 0),
endPoint: UnitPoint(x: 0.682, y: 1)
)
// Usage
Rectangle().fill(gta6SwampInspiredGradient)val gta6SwampInspiredColors = listOf(Color(0xFF1F4D3A), Color(0xFF4E9F6B), Color(0xFFE8D48A))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = gta6SwampInspiredColors,
start = Offset(size.width * 0.318f, size.height * 0f),
end = Offset(size.width * 0.682f, size.height * 1f)
)
)
}<!-- res/drawable/gta-6-swamp-inspired_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#1F4D3A"
android:centerColor="#4E9F6B"
android:endColor="#E8D48A"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 160deg in CSS is 290°, rounded to 270°. -->const gta6SwampInspiredGradient = LinearGradient(
begin: Alignment(-0.364, -1),
end: Alignment(0.364, 1),
colors: [Color(0xFF1F4D3A), Color(0xFF4E9F6B), Color(0xFFE8D48A)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: gta6SwampInspiredGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#1F4D3A', '#4E9F6B', '#E8D48A']}
start={{ x: 0.318, y: 0 }}
end={{ x: 0.682, y: 1 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="gta-6-swamp-inspired" x1="0.318" y1="0" x2="0.682" y2="1">
<stop offset="0%" stop-color="#1F4D3A" />
<stop offset="50%" stop-color="#4E9F6B" />
<stop offset="100%" stop-color="#E8D48A" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#gta-6-swamp-inspired)" />
</svg>:root {
--gta-6-swamp-inspired-1: #1F4D3A;
--gta-6-swamp-inspired-2: #4E9F6B;
--gta-6-swamp-inspired-3: #E8D48A;
--gta-6-swamp-inspired-angle: 160deg;
--gta-6-swamp-inspired: linear-gradient(var(--gta-6-swamp-inspired-angle), var(--gta-6-swamp-inspired-1), var(--gta-6-swamp-inspired-2), var(--gta-6-swamp-inspired-3));
}
.hero {
background: var(--gta-6-swamp-inspired);
}$gta-6-swamp-inspired-1: #1F4D3A;
$gta-6-swamp-inspired-2: #4E9F6B;
$gta-6-swamp-inspired-3: #E8D48A;
$gta-6-swamp-inspired: linear-gradient(160deg, $gta-6-swamp-inspired-1, $gta-6-swamp-inspired-2, $gta-6-swamp-inspired-3);
@mixin gta-6-swamp-inspired-bg {
background: $gta-6-swamp-inspired-1;
background: $gta-6-swamp-inspired;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Deep green | #1F4D3A | rgb(31, 77, 58) | hsl(155, 43%, 21%) |
| 2 | Green | #4E9F6B | rgb(78, 159, 107) | hsl(141, 34%, 46%) |
| 3 | Light yellow | #E8D48A | rgb(232, 212, 138) | hsl(47, 67%, 73%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The GTA 6 Swamp-Inspired Gradient uses 3 colours: #1F4D3A, #4E9F6B and #E8D48A, at an angle of 160°.
Paste background: linear-gradient(160deg, #1F4D3A, #4E9F6B, #E8D48A); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 6.2:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.