# Black to gray gradient

Black to gray gradient with 7 colors: #0d0d12, #171920, #252a34, #313946, #4b5563, #979ea8, #e5e7eb. Edit it and copy or download CSS, SVG, PNG or shader code.

- Seed: `kEQ0NEklKjQUtVYz5efrf8`
- Page: https://grabient.com/kEQ0NEklKjQUtVYz5efrf8
- Drawn as: linear gradient, 7 steps, 90 degrees
- Kinds: dark to light, neutral, dark, cool
- Hues: achromatic
- Contrast of its darkest and lightest colors: 15.6 to 1

## Colors

The name most people give each color, and the text color that reads on it with its contrast.

| Stop | Hex | OKLCH | Name | Text on it |
| --- | --- | --- | --- | --- |
| 1 | `#0d0d12` | `oklch(16.15% 0.0105 285.17)` | Midnight Oil | white, 19.3 to 1 |
| 2 | `#171920` | `oklch(21.29% 0.0147 275.14)` | River Styx | white, 17.6 to 1 |
| 3 | `#252a34` | `oklch(28.44% 0.0198 264.19)` | Sky Captain | white, 14.3 to 1 |
| 4 | `#313946` | `oklch(34.29% 0.0249 259.07)` | Biro Blue | white, 11.6 to 1 |
| 5 | `#4b5563` | `oklch(44.61% 0.0263 256.80)` | Dark Sea | white, 7.5 to 1 |
| 6 | `#979ea8` | `oklch(69.70% 0.0164 257.70)` | Shining Knight | black, 7.7 to 1 |
| 7 | `#e5e7eb` | `oklch(92.76% 0.0058 264.53)` | Lilac Murmur | black, 16.9 to 1 |

## CSS

```css
background: linear-gradient(90deg, #0d0d12 0.0%, #171920 16.7%, #252a34 33.3%, #313946 50.0%, #4b5563 66.7%, #979ea8 83.3%, #e5e7eb 100.0%);
background: linear-gradient(90deg in oklch, oklch(16.15% 0.0105 285.17) 0.0%, oklch(21.29% 0.0147 275.14) 16.7%, oklch(28.44% 0.0198 264.19) 33.3%, oklch(34.29% 0.0249 259.07) 50.0%, oklch(44.61% 0.0263 256.80) 66.7%, oklch(69.70% 0.0164 257.70) 83.3%, oklch(92.76% 0.0058 264.53) 100.0%);
```

## Keyframes

4 OKLCH keyframes joined by a Catmull-Rom spline. Hue is unwrapped degrees.

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.162 | 0.01 | 285.2 |
| 2 | 0.284 | 0.02 | 264.2 |
| 3 | 0.446 | 0.026 | 256.8 |
| 4 | 0.928 | 0.006 | 256.8 |

## In these collections

- [Thunderstorm colors](https://grabient.com/thunderstorm-colors)

## Other forms

- [JSON](https://grabient.com/kEQ0NEklKjQUtVYz5efrf8.json)
- [PNG](https://grabient.com/kEQ0NEklKjQUtVYz5efrf8.png)
- [SVG](https://grabient.com/kEQ0NEklKjQUtVYz5efrf8.svg)
- [CSS](https://grabient.com/kEQ0NEklKjQUtVYz5efrf8.css)
- [ASE](https://grabient.com/kEQ0NEklKjQUtVYz5efrf8.ase)
- [GPL](https://grabient.com/kEQ0NEklKjQUtVYz5efrf8.gpl)
- [GRD](https://grabient.com/kEQ0NEklKjQUtVYz5efrf8.grd)
- [Design tokens](https://grabient.com/kEQ0NEklKjQUtVYz5efrf8.tokens.json)
- [Social card](https://grabient.com/api/og?seed=kEQ0NEklKjQUtVYz5efrf8)
- [Palettes like this one](https://grabient.com/palettes?q=kEQ0NEklKjQUtVYz5efrf8)
- [Guide for agents](https://grabient.com/llms.txt)
