GitLab Gradient is a warm and bold 3-colour linear gradient that runs from orange (#FCA326) through orange (#FC6D26) to red (#E24329) at 135°. It is inspired by GitLab’s brand colours, a reference point for tech interfaces. Black text reads best on it, at a contrast ratio of 7.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →
Unofficial reference: inspired by GitLab’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by GitLab. GitLab 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 GitLab’s. Terms
background: linear-gradient(135deg, #FCA326, #FC6D26, #E24329);
bg-gradient-to-br from-[#FCA326] via-[#FC6D26] to-[#E24329]
{
"gitlab": {
"value": "linear-gradient(135deg, #FCA326 0%, #FC6D26 50%, #E24329 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let gitlabGradient = LinearGradient(
colors: [
Color(red: 0.988, green: 0.639, blue: 0.149),
Color(red: 0.988, green: 0.427, blue: 0.149),
Color(red: 0.886, green: 0.263, blue: 0.161)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(gitlabGradient)val gitlabColors = listOf(Color(0xFFFCA326), Color(0xFFFC6D26), Color(0xFFE24329))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = gitlabColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/gitlab_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#FCA326"
android:centerColor="#FC6D26"
android:endColor="#E24329"
android:type="linear" />
</shape>const gitlabGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFFCA326), Color(0xFFFC6D26), Color(0xFFE24329)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: gitlabGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FCA326', '#FC6D26', '#E24329']}
start={{ x: 0, y: 0 }}
end={{ x: 1, 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="gitlab" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#FCA326" />
<stop offset="50%" stop-color="#FC6D26" />
<stop offset="100%" stop-color="#E24329" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#gitlab)" />
</svg>:root {
--gitlab-1: #FCA326;
--gitlab-2: #FC6D26;
--gitlab-3: #E24329;
--gitlab-angle: 135deg;
--gitlab: linear-gradient(var(--gitlab-angle), var(--gitlab-1), var(--gitlab-2), var(--gitlab-3));
}
.hero {
background: var(--gitlab);
}$gitlab-1: #FCA326;
$gitlab-2: #FC6D26;
$gitlab-3: #E24329;
$gitlab: linear-gradient(135deg, $gitlab-1, $gitlab-2, $gitlab-3);
@mixin gitlab-bg {
background: $gitlab-1;
background: $gitlab;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Orange | #FCA326 | rgb(252, 163, 38) | hsl(35, 97%, 57%) |
| 2 | Orange | #FC6D26 | rgb(252, 109, 38) | hsl(20, 97%, 57%) |
| 3 | Red | #E24329 | rgb(226, 67, 41) | hsl(8, 76%, 52%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The GitLab Gradient uses 3 colours: #FCA326, #FC6D26 and #E24329, at an angle of 135°.
Paste background: linear-gradient(135deg, #FCA326, #FC6D26, #E24329); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 7.2:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.