Trout to Genie Gradient
CSS
background: linear-gradient(90deg, #4c5356 0%, #3e4364 100%);
From Trout (#4C5356) to Genie (#3E4364). The two hues are 34° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Trout | #4C5356 | 76, 83, 86 | 198°, 6%, 32% | 12, 3, 0, 66 | |
| 25% (near Isolation) | #494F5A | 73, 79, 90 | 219°, 10%, 32% | 19, 12, 0, 65 | |
| 50% (near Abyssal) | #454B5D | 69, 75, 93 | 225°, 15%, 32% | 26, 19, 0, 64 | |
| 75% (near Genie) | #424761 | 66, 71, 97 | 230°, 19%, 32% | 32, 27, 0, 62 | |
| Genie | #3E4364 | 62, 67, 100 | 232°, 23%, 32% | 38, 33, 0, 61 |
Halfway along, the gradient is #454B5D, closest to the named color Abyssal. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.22:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #4c5356, #3e4364) - Diagonal:
linear-gradient(135deg, #4c5356, #3e4364) - Radial, from the center out:
radial-gradient(circle, #4c5356, #3e4364) - Tailwind CSS:
bg-gradient-to-r from-[#4c5356] to-[#3e4364]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Related gradients
Questions
What are the HEX codes of the Trout to Genie gradient?
It starts at #4C5356 (Trout) and ends at #3E4364 (Genie), with #454B5D in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #4c5356, #3e4364) runs from Genie on the left to Trout on the right.