Trigger.dev Gradient is a cool and dark 2-colour linear gradient that runs from purple (#6D28D9) to light blue (#7A72FC) at 135°. It is inspired by Trigger.dev’s brand colours, a reference point for tech interfaces. White text reads best on it, at a contrast ratio of 5.3:1 against the gradient’s average colour (AA). Check every point, not just the average →
Unofficial reference: inspired by Trigger.dev’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Trigger.dev. Trigger.dev 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 Trigger.dev’s. Terms
background: linear-gradient(135deg, #6D28D9, #7A72FC);
bg-gradient-to-br from-[#6D28D9] to-[#7A72FC]
{
"trigger-dev": {
"value": "linear-gradient(135deg, #6D28D9 0%, #7A72FC 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let triggerDevGradient = LinearGradient(
colors: [
Color(red: 0.427, green: 0.157, blue: 0.851),
Color(red: 0.478, green: 0.447, blue: 0.988)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(triggerDevGradient)val triggerDevColors = listOf(Color(0xFF6D28D9), Color(0xFF7A72FC))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = triggerDevColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/trigger-dev_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#6D28D9"
android:endColor="#7A72FC"
android:type="linear" />
</shape>const triggerDevGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFF6D28D9), Color(0xFF7A72FC)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: triggerDevGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#6D28D9', '#7A72FC']}
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="trigger-dev" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#6D28D9" />
<stop offset="100%" stop-color="#7A72FC" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#trigger-dev)" />
</svg>:root {
--trigger-dev-1: #6D28D9;
--trigger-dev-2: #7A72FC;
--trigger-dev-angle: 135deg;
--trigger-dev: linear-gradient(var(--trigger-dev-angle), var(--trigger-dev-1), var(--trigger-dev-2));
}
.hero {
background: var(--trigger-dev);
}$trigger-dev-1: #6D28D9;
$trigger-dev-2: #7A72FC;
$trigger-dev: linear-gradient(135deg, $trigger-dev-1, $trigger-dev-2);
@mixin trigger-dev-bg {
background: $trigger-dev-1;
background: $trigger-dev;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Purple | #6D28D9 | rgb(109, 40, 217) | hsl(263, 70%, 50%) |
| 2 | Light blue | #7A72FC | rgb(122, 114, 252) | hsl(243, 96%, 72%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Trigger.dev Gradient uses 2 colours: #6D28D9 and #7A72FC, at an angle of 135°.
Paste background: linear-gradient(135deg, #6D28D9, #7A72FC); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 5.3:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.