Calm Waters to Cotton Boll Gradient
CSS
background: linear-gradient(90deg, #e7fafa 0%, #e7effb 100%);
From Calm Waters (#E7FAFA) to Cotton Boll (#E7EFFB). The two hues are 36° 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 | |
|---|---|---|---|---|---|
| Calm Waters | #E7FAFA | 231, 250, 250 | 180°, 66%, 94% | 8, 0, 0, 2 | |
| 25% (near Calm Waters) | #E7F7FA | 231, 247, 250 | 189°, 66%, 94% | 8, 1, 0, 2 | |
| 50% (near Calm Waters) | #E7F5FB | 231, 245, 251 | 198°, 71%, 95% | 8, 2, 0, 2 | |
| 75% (near Cotton Boll) | #E7F2FB | 231, 242, 251 | 207°, 71%, 95% | 8, 4, 0, 2 | |
| Cotton Boll | #E7EFFB | 231, 239, 251 | 216°, 71%, 95% | 8, 5, 0, 2 |
Halfway along, the gradient is #E7F5FB, closest to the named color Calm Waters. 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.07:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #e7fafa, #e7effb) - Diagonal:
linear-gradient(135deg, #e7fafa, #e7effb) - Radial, from the center out:
radial-gradient(circle, #e7fafa, #e7effb) - Tailwind CSS:
bg-gradient-to-r from-[#e7fafa] to-[#e7effb]
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 Calm Waters to Cotton Boll gradient?
It starts at #E7FAFA (Calm Waters) and ends at #E7EFFB (Cotton Boll), with #E7F5FB in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #e7fafa, #e7effb) runs from Cotton Boll on the left to Calm Waters on the right.