Huebook

Prince Charming to Lionheart Gradient

CSS

background: linear-gradient(90deg, #cc2277 0%, #cc2222 100%);

From Prince Charming (#CC2277) to Lionheart (#CC2222). The two hues are 30° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Prince Charming#CC2277204, 34, 119330°, 71%, 47%0, 83, 42, 20
25% (near Beet Wave)#CC2262204, 34, 98337°, 71%, 47%0, 83, 52, 20
50% (near Love Surge)#CC224D204, 34, 77345°, 71%, 47%0, 83, 62, 20
75% (near Methadone)#CC2237204, 34, 55353°, 71%, 47%0, 83, 73, 20
Lionheart#CC2222204, 34, 340°, 71%, 47%0, 83, 83, 20

Halfway along, the gradient is #CC224D, closest to the named color Love Surge. 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.06:1, so the change is gentle.

Other ways to use it

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 Prince Charming to Lionheart gradient?

It starts at #CC2277 (Prince Charming) and ends at #CC2222 (Lionheart), with #CC224D in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #cc2277, #cc2222) runs from Lionheart on the left to Prince Charming on the right.