#004DFF
#750787
#E40303
Pride Twilight is a bold 3-colour linear gradient that runs from blue (#004DFF) through purple (#750787) to red (#E40303) at 90°. It suits banners and attention-grabbing headers. White text reads best on it, at a contrast ratio of 9.4:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(90deg, #004DFF, #750787, #E40303);
bg-gradient-to-r from-[#004DFF] via-[#750787] to-[#E40303]
{
"pride-twilight": {
"value": "linear-gradient(90deg, #004DFF 0%, #750787 50%, #E40303 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let prideTwilightGradient = LinearGradient(
colors: [
Color(red: 0, green: 0.302, blue: 1),
Color(red: 0.459, green: 0.027, blue: 0.529),
Color(red: 0.894, green: 0.012, blue: 0.012)
],
startPoint: UnitPoint(x: 0, y: 0.5),
endPoint: UnitPoint(x: 1, y: 0.5)
)
// Usage
Rectangle().fill(prideTwilightGradient)val prideTwilightColors = listOf(Color(0xFF004DFF), Color(0xFF750787), Color(0xFFE40303))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = prideTwilightColors,
start = Offset(size.width * 0f, size.height * 0.5f),
end = Offset(size.width * 1f, size.height * 0.5f)
)
)
}<!-- res/drawable/pride-twilight_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="0"
android:startColor="#004DFF"
android:centerColor="#750787"
android:endColor="#E40303"
android:type="linear" />
</shape>const prideTwilightGradient = LinearGradient(
begin: Alignment(-1, 0),
end: Alignment(1, 0),
colors: [Color(0xFF004DFF), Color(0xFF750787), Color(0xFFE40303)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: prideTwilightGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#004DFF', '#750787', '#E40303']}
start={{ x: 0, y: 0.5 }}
end={{ x: 1, y: 0.5 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="pride-twilight" x1="0" y1="0.5" x2="1" y2="0.5">
<stop offset="0%" stop-color="#004DFF" />
<stop offset="50%" stop-color="#750787" />
<stop offset="100%" stop-color="#E40303" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#pride-twilight)" />
</svg>:root {
--pride-twilight-1: #004DFF;
--pride-twilight-2: #750787;
--pride-twilight-3: #E40303;
--pride-twilight-angle: 90deg;
--pride-twilight: linear-gradient(var(--pride-twilight-angle), var(--pride-twilight-1), var(--pride-twilight-2), var(--pride-twilight-3));
}
.hero {
background: var(--pride-twilight);
}$pride-twilight-1: #004DFF;
$pride-twilight-2: #750787;
$pride-twilight-3: #E40303;
$pride-twilight: linear-gradient(90deg, $pride-twilight-1, $pride-twilight-2, $pride-twilight-3);
@mixin pride-twilight-bg {
background: $pride-twilight-1;
background: $pride-twilight;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Blue | #004DFF | rgb(0, 77, 255) | hsl(222, 100%, 50%) |
| 2 | Purple | #750787 | rgb(117, 7, 135) | hsl(292, 90%, 28%) |
| 3 | Red | #E40303 | rgb(228, 3, 3) | hsl(0, 97%, 45%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Pride Twilight gradient uses 3 colours: #004DFF, #750787 and #E40303, at an angle of 90°.
Paste background: linear-gradient(90deg, #004DFF, #750787, #E40303); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 9.4:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.