eBay Gradient is a bold 3-colour linear gradient that runs from red (#E53238) through blue (#0064D2) to orange (#F5AF02) at 45°. It is inspired by eBay’s brand colours, a reference point for tech interfaces. Black text reads best on it, at a contrast ratio of 4.8:1 against the gradient’s average colour (AA). Check every point, not just the average →
Unofficial reference: inspired by eBay’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by eBay. eBay 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 eBay’s. Terms
background: linear-gradient(45deg, #E53238, #0064D2, #F5AF02);
bg-gradient-to-tr from-[#E53238] via-[#0064D2] to-[#F5AF02]
{
"ebay": {
"value": "linear-gradient(45deg, #E53238 0%, #0064D2 50%, #F5AF02 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let ebayGradient = LinearGradient(
colors: [
Color(red: 0.898, green: 0.196, blue: 0.22),
Color(red: 0, green: 0.392, blue: 0.824),
Color(red: 0.961, green: 0.686, blue: 0.008)
],
startPoint: UnitPoint(x: 0, y: 1),
endPoint: UnitPoint(x: 1, y: 0)
)
// Usage
Rectangle().fill(ebayGradient)val ebayColors = listOf(Color(0xFFE53238), Color(0xFF0064D2), Color(0xFFF5AF02))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = ebayColors,
start = Offset(size.width * 0f, size.height * 1f),
end = Offset(size.width * 1f, size.height * 0f)
)
)
}<!-- res/drawable/ebay_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="45"
android:startColor="#E53238"
android:centerColor="#0064D2"
android:endColor="#F5AF02"
android:type="linear" />
</shape>const ebayGradient = LinearGradient(
begin: Alignment(-1, 1),
end: Alignment(1, -1),
colors: [Color(0xFFE53238), Color(0xFF0064D2), Color(0xFFF5AF02)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: ebayGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#E53238', '#0064D2', '#F5AF02']}
start={{ x: 0, y: 1 }}
end={{ x: 1, y: 0 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="ebay" x1="0" y1="1" x2="1" y2="0">
<stop offset="0%" stop-color="#E53238" />
<stop offset="50%" stop-color="#0064D2" />
<stop offset="100%" stop-color="#F5AF02" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#ebay)" />
</svg>:root {
--ebay-1: #E53238;
--ebay-2: #0064D2;
--ebay-3: #F5AF02;
--ebay-angle: 45deg;
--ebay: linear-gradient(var(--ebay-angle), var(--ebay-1), var(--ebay-2), var(--ebay-3));
}
.hero {
background: var(--ebay);
}$ebay-1: #E53238;
$ebay-2: #0064D2;
$ebay-3: #F5AF02;
$ebay: linear-gradient(45deg, $ebay-1, $ebay-2, $ebay-3);
@mixin ebay-bg {
background: $ebay-1;
background: $ebay;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Red | #E53238 | rgb(229, 50, 56) | hsl(358, 77%, 55%) |
| 2 | Blue | #0064D2 | rgb(0, 100, 210) | hsl(211, 100%, 41%) |
| 3 | Orange | #F5AF02 | rgb(245, 175, 2) | hsl(43, 98%, 48%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The eBay Gradient uses 3 colours: #E53238, #0064D2 and #F5AF02, at an angle of 45°.
Paste background: linear-gradient(45deg, #E53238, #0064D2, #F5AF02); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 4.8:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.