Citadel to Wizard’s Potion Gradient
CSS
background: linear-gradient(90deg, #6a7f8b 0%, #5d6098 100%);
From Citadel (#6A7F8B) to Wizard’s Potion (#5D6098). The two hues are 35° 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 | |
|---|---|---|---|---|---|
| Citadel | #6A7F8B | 106, 127, 139 | 202°, 13%, 48% | 24, 9, 0, 45 | |
| 25% (near Whale Shark) | #67778E | 103, 119, 142 | 215°, 16%, 48% | 27, 16, 0, 44 | |
| 50% (near Haunt Mist) | #647092 | 100, 112, 146 | 224°, 19%, 48% | 32, 23, 0, 43 | |
| 75% (near Haunt Mist) | #606895 | 96, 104, 149 | 231°, 22%, 48% | 36, 30, 0, 42 | |
| Wizard’s Potion | #5D6098 | 93, 96, 152 | 237°, 24%, 48% | 39, 37, 0, 40 |
Halfway along, the gradient is #647092, 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 Citadel 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.40:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #6a7f8b, #5d6098) - Diagonal:
linear-gradient(135deg, #6a7f8b, #5d6098) - Radial, from the center out:
radial-gradient(circle, #6a7f8b, #5d6098) - Tailwind CSS:
bg-gradient-to-r from-[#6a7f8b] 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 Citadel to Wizard’s Potion gradient?
It starts at #6A7F8B (Citadel) and ends at #5D6098 (Wizard’s Potion), with #647092 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #6a7f8b, #5d6098) runs from Wizard’s Potion on the left to Citadel on the right.