Huebook

Pine Needle to Dark Slate Gray Gradient

CSS

background: linear-gradient(90deg, #334d41 0%, #2f4f4f 100%);

From Pine Needle (#334D41) to Dark Slate Gray (#2F4F4F). The two hues are 28° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYKOKLCH
Pine Needle#334D4151, 77, 65152°, 20%, 25%34, 0, 16, 7039.5% 0.038 164
25% (near Pine Needle)#324E4550, 78, 69161°, 22%, 25%36, 0, 12, 6939.9% 0.037 172
50% (near Hunter)#314E4849, 78, 72168°, 23%, 25%37, 0, 8, 6939.9% 0.036 180
75% (near Dark Slate Gray)#304F4C48, 79, 76174°, 24%, 25%39, 0, 4, 6940.2% 0.037 188
Dark Slate Gray#2F4F4F47, 79, 79180°, 25%, 25%41, 0, 0, 6940.3% 0.038 196

Halfway along, the gradient is #314E48, closest to the named color Hunter. 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.03: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 Pine Needle to Dark Slate Gray gradient?

It starts at #334D41 (Pine Needle) and ends at #2F4F4F (Dark Slate Gray), with #314E48 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #334d41, #2f4f4f) runs from Dark Slate Gray on the left to Pine Needle on the right.