Huebook

Carbon Fibre to Cola Gradient

CSS

background: linear-gradient(90deg, #2e2e2e 0%, #3c2f23 100%);

From Carbon Fibre (#2E2E2E) to Cola (#3C2F23). The two hues are 29° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Carbon Fibre#2E2E2E46, 46, 460°, 0%, 18%0, 0, 0, 82
25% (near Holy Crow)#322E2B50, 46, 4326°, 8%, 18%0, 8, 14, 80
50% (near Holy Crow)#352F2953, 47, 4130°, 13%, 18%0, 11, 23, 79
75% (near Creole)#392F2657, 47, 3828°, 20%, 19%0, 18, 33, 78
Cola#3C2F2360, 47, 3529°, 26%, 19%0, 22, 42, 76

Halfway along, the gradient is #352F29, closest to the named color Holy Crow. 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.05: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 Carbon Fibre to Cola gradient?

It starts at #2E2E2E (Carbon Fibre) and ends at #3C2F23 (Cola), with #352F29 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #2e2e2e, #3c2f23) runs from Cola on the left to Carbon Fibre on the right.