Inchworm to The Matrix Gradient
CSS
background: linear-gradient(90deg, #b2ec5d 0%, #70f15e 100%);
From Inchworm (#B2EC5D) to The Matrix (#70F15E). 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
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Inchworm | #B2EC5D | 178, 236, 93 | 84°, 79%, 65% | 25, 0, 61, 7 | |
| 25% (near Inchworm) | #A2ED5D | 162, 237, 93 | 91°, 80%, 65% | 32, 0, 61, 7 | |
| 50% (near Herbivore) | #91EF5E | 145, 239, 94 | 99°, 82%, 65% | 39, 0, 61, 6 | |
| 75% (near The Matrix) | #81F05E | 129, 240, 94 | 106°, 83%, 65% | 46, 0, 61, 6 | |
| The Matrix | #70F15E | 112, 241, 94 | 113°, 84%, 66% | 54, 0, 61, 5 |
Halfway along, the gradient is #91EF5E, closest to the named color Herbivore. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black 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.04:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #b2ec5d, #70f15e) - Diagonal:
linear-gradient(135deg, #b2ec5d, #70f15e) - Radial, from the center out:
radial-gradient(circle, #b2ec5d, #70f15e) - Tailwind CSS:
bg-gradient-to-r from-[#b2ec5d] to-[#70f15e]
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 Inchworm to The Matrix gradient?
It starts at #B2EC5D (Inchworm) and ends at #70F15E (The Matrix), with #91EF5E in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #b2ec5d, #70f15e) runs from The Matrix on the left to Inchworm on the right.