Whale Shark to Wizard’s Potion Gradient
CSS
background: linear-gradient(90deg, #607c8e 0%, #5d6098 100%);
From Whale Shark (#607C8E) to Wizard’s Potion (#5D6098). The two hues are 33° 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 | |
|---|---|---|---|---|---|
| Whale Shark | #607C8E | 96, 124, 142 | 203°, 19%, 47% | 32, 13, 0, 44 | |
| 25% (near Whale Shark) | #5F7591 | 95, 117, 145 | 214°, 21%, 47% | 34, 19, 0, 43 | |
| 50% (near Haunt Mist) | #5F6E93 | 95, 110, 147 | 223°, 21%, 47% | 35, 25, 0, 42 | |
| 75% (near Wizard’s Potion) | #5E6796 | 94, 103, 150 | 230°, 23%, 48% | 37, 31, 0, 41 | |
| Wizard’s Potion | #5D6098 | 93, 96, 152 | 237°, 24%, 48% | 39, 37, 0, 40 |
Halfway along, the gradient is #5F6E93, closest to the named color Haunt Mist. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black text reads best on the Whale Shark end and white text on the Wizard’s Potion end. For a single line of text across the whole width, put it on a solid panel or pick the side it sits on. The two end colors have a contrast ratio of 1.33:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #607c8e, #5d6098) - Diagonal:
linear-gradient(135deg, #607c8e, #5d6098) - Radial, from the center out:
radial-gradient(circle, #607c8e, #5d6098) - Tailwind CSS:
bg-gradient-to-r from-[#607c8e] to-[#5d6098]
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 Whale Shark to Wizard’s Potion gradient?
It starts at #607C8E (Whale Shark) and ends at #5D6098 (Wizard’s Potion), with #5F6E93 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #607c8e, #5d6098) runs from Wizard’s Potion on the left to Whale Shark on the right.