Chocolate Castle to Green Not Found Gradient
CSS
background: linear-gradient(90deg, #452207 0%, #404404 100%);
From Chocolate Castle (#452207) to Green Not Found (#404404). The two hues are 38° 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 | |
|---|---|---|---|---|---|
| Chocolate Castle | #452207 | 69, 34, 7 | 26°, 82%, 15% | 0, 51, 90, 73 | |
| 25% (near Chocolate Castle) | #442B06 | 68, 43, 6 | 36°, 84%, 15% | 0, 37, 91, 73 | |
| 50% (near Secret Passage) | #433306 | 67, 51, 6 | 44°, 84%, 14% | 0, 24, 91, 74 | |
| 75% (near Green Not Found) | #413C05 | 65, 60, 5 | 55°, 86%, 14% | 0, 8, 92, 75 | |
| Green Not Found | #404404 | 64, 68, 4 | 64°, 89%, 14% | 6, 0, 94, 73 |
Halfway along, the gradient is #433306, closest to the named color Secret Passage. 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.38:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #452207, #404404) - Diagonal:
linear-gradient(135deg, #452207, #404404) - Radial, from the center out:
radial-gradient(circle, #452207, #404404) - Tailwind CSS:
bg-gradient-to-r from-[#452207] to-[#404404]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Chocolate Castle to Green Not Found gradient?
It starts at #452207 (Chocolate Castle) and ends at #404404 (Green Not Found), with #433306 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #452207, #404404) runs from Green Not Found on the left to Chocolate Castle on the right.