IMDb Gradient is a warm and dark 2-colour linear gradient that runs from yellow (#F5C518) to near-black (#121212) at 135°. It is inspired by IMDb’s brand colours, a reference point for media interfaces. White text reads best on it, at a contrast ratio of 5.1:1 against the gradient’s average colour (AA). Check every point, not just the average →
Unofficial reference: inspired by IMDb’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by IMDb. IMDb 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 IMDb’s. Terms
background: linear-gradient(135deg, #F5C518, #121212);
bg-gradient-to-br from-[#F5C518] to-[#121212]
{
"imdb": {
"value": "linear-gradient(135deg, #F5C518 0%, #121212 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let imdbGradient = LinearGradient(
colors: [
Color(red: 0.961, green: 0.773, blue: 0.094),
Color(red: 0.071, green: 0.071, blue: 0.071)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(imdbGradient)val imdbColors = listOf(Color(0xFFF5C518), Color(0xFF121212))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = imdbColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/imdb_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#F5C518"
android:endColor="#121212"
android:type="linear" />
</shape>const imdbGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFF5C518), Color(0xFF121212)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: imdbGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#F5C518', '#121212']}
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="imdb" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#F5C518" />
<stop offset="100%" stop-color="#121212" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#imdb)" />
</svg>:root {
--imdb-1: #F5C518;
--imdb-2: #121212;
--imdb-angle: 135deg;
--imdb: linear-gradient(var(--imdb-angle), var(--imdb-1), var(--imdb-2));
}
.hero {
background: var(--imdb);
}$imdb-1: #F5C518;
$imdb-2: #121212;
$imdb: linear-gradient(135deg, $imdb-1, $imdb-2);
@mixin imdb-bg {
background: $imdb-1;
background: $imdb;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Yellow | #F5C518 | rgb(245, 197, 24) | hsl(47, 92%, 53%) |
| 2 | Near-black | #121212 | rgb(18, 18, 18) | hsl(0, 0%, 7%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The IMDb Gradient uses 2 colours: #F5C518 and #121212, at an angle of 135°.
Paste background: linear-gradient(135deg, #F5C518, #121212); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 5.1:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.