#FFE53B
#FF2525
Velvet Sun is a warm and bold 2-colour linear gradient that runs from yellow (#FFE53B) to red (#FF2525) at 135°. It suits hero sections and call-to-action buttons and banners and attention-grabbing headers. Black text reads best on it, at a contrast ratio of 8.6:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #FFE53B, #FF2525);
bg-gradient-to-br from-[#FFE53B] to-[#FF2525]
{
"velvet-sun": {
"value": "linear-gradient(135deg, #FFE53B 0%, #FF2525 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let velvetSunGradient = LinearGradient(
colors: [
Color(red: 1, green: 0.898, blue: 0.231),
Color(red: 1, green: 0.145, blue: 0.145)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(velvetSunGradient)val velvetSunColors = listOf(Color(0xFFFFE53B), Color(0xFFFF2525))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = velvetSunColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/velvet-sun_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#FFE53B"
android:endColor="#FF2525"
android:type="linear" />
</shape>const velvetSunGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFFFE53B), Color(0xFFFF2525)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: velvetSunGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FFE53B', '#FF2525']}
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="velvet-sun" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#FFE53B" />
<stop offset="100%" stop-color="#FF2525" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#velvet-sun)" />
</svg>:root {
--velvet-sun-1: #FFE53B;
--velvet-sun-2: #FF2525;
--velvet-sun-angle: 135deg;
--velvet-sun: linear-gradient(var(--velvet-sun-angle), var(--velvet-sun-1), var(--velvet-sun-2));
}
.hero {
background: var(--velvet-sun);
}$velvet-sun-1: #FFE53B;
$velvet-sun-2: #FF2525;
$velvet-sun: linear-gradient(135deg, $velvet-sun-1, $velvet-sun-2);
@mixin velvet-sun-bg {
background: $velvet-sun-1;
background: $velvet-sun;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Yellow | #FFE53B | rgb(255, 229, 59) | hsl(52, 100%, 62%) |
| 2 | Red | #FF2525 | rgb(255, 37, 37) | hsl(0, 100%, 57%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Velvet Sun gradient uses 2 colours: #FFE53B and #FF2525, at an angle of 135°.
Paste background: linear-gradient(135deg, #FFE53B, #FF2525); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 8.6:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.