Shadow Play to Secret Passage Gradient
CSS
background: linear-gradient(90deg, #2d1403 0%, #372a05 100%);
From Shadow Play (#2D1403) to Secret Passage (#372A05). The two hues are 20° 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 | |
|---|---|---|---|---|---|
| Shadow Play | #2D1403 | 45, 20, 3 | 24°, 88%, 9% | 0, 56, 93, 82 | |
| 25% (near Shadow Play) | #301A04 | 48, 26, 4 | 30°, 85%, 10% | 0, 46, 92, 81 | |
| 50% (near Close but No Cigar) | #321F04 | 50, 31, 4 | 35°, 85%, 11% | 0, 38, 92, 80 | |
| 75% (near Secret Passage) | #352505 | 53, 37, 5 | 40°, 83%, 11% | 0, 30, 91, 79 | |
| Secret Passage | #372A05 | 55, 42, 5 | 44°, 83%, 12% | 0, 24, 91, 78 |
Halfway along, the gradient is #321F04, closest to the named color Close but No Cigar. 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.23:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #2d1403, #372a05) - Diagonal:
linear-gradient(135deg, #2d1403, #372a05) - Radial, from the center out:
radial-gradient(circle, #2d1403, #372a05) - Tailwind CSS:
bg-gradient-to-r from-[#2d1403] to-[#372a05]
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 Shadow Play to Secret Passage gradient?
It starts at #2D1403 (Shadow Play) and ends at #372A05 (Secret Passage), with #321F04 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #2d1403, #372a05) runs from Secret Passage on the left to Shadow Play on the right.