Candy Purple Gradient — CSS, Hex Stops and Preview
Candy Purple is a linear-gradient built from 2 fixed stops, from #C33764 to #1D2671. The values below are the preset exactly as the generator ships it, so you can paste the block and get this look without opening the tool.
Copy the CSS
.gradient {
background: #C33764; /* fallback for old browsers */
background: -webkit-linear-gradient(45deg, #C33764 0%, #1D2671 100%);
background: -moz-linear-gradient(45deg, #C33764 0%, #1D2671 100%);
background: linear-gradient(45deg, #C33764 0%, #1D2671 100%);
}Stops
| # | Colour | Position | RGB |
|---|---|---|---|
| 1 | #C33764 | 0% | rgb(195, 55, 100) |
| 2 | #1D2671 | 100% | rgb(29, 38, 113) |
Frequently asked
What is the CSS for the Candy Purple gradient?background: linear-gradient(45deg, #C33764 0%, #1D2671 100%); It is a linear-gradient with 2 colour stops, and a solid fallback of #C33764 for anything that cannot paint gradients.
Where does the Candy Purple preset come from?
It ships with the CSS Shift generator as one of ten starting points. The values are fixed, not random: a 45° axis, with stops at 0%, 100%.
How do I put text on top of it?
Treat the lightest and darkest stop as the worst case. Against white, #C33764 scores 5.18:1; #1D2671 scores 13.39:1 — so a white heading only clears 4.5:1 where those numbers are at least 4.5.