# Charcoal to white

Black, gray and white gradient with 7 colors: #000000, #212121, #5d5d5d, #9f9f9f, #dbdbdb, #ffffff, #ffffff. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Black, gray and white gradient
- Seed: `kYBQBEpYBAUgAP7ogD__YBAP8AP6`
- Page: https://grabient.com/kYBQBEpYBAUgAP7ogD__YBAP8AP6
- Drawn as: linear gradient, 7 steps, 90 degrees
- Kinds: dark to light, neutral
- Hues: achromatic
- Contrast of its darkest and lightest colors: 20.9 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 | `#000000` | `oklch(1.97% 0.0000 89.88)` | Black | white, 20.9 to 1 |
| 2 | `#212121` | `oklch(24.64% 0.0000 89.88)` | Lead | white, 16.1 to 1 |
| 3 | `#5d5d5d` | `oklch(47.77% 0.0000 89.88)` | Knight’s Armour | white, 6.6 to 1 |
| 4 | `#9f9f9f` | `oklch(70.15% 0.0000 89.88)` | Cold Grey | black, 7.9 to 1 |
| 5 | `#dbdbdb` | `oklch(89.03% 0.0000 89.88)` | Porpoise | black, 15.1 to 1 |
| 6 | `#ffffff` | `oklch(99.92% 0.0000 89.88)` | White | black, 20.9 to 1 |
| 7 | `#ffffff` | `oklch(100.00% 0.0000 89.88)` | White | black, 20.9 to 1 |

## CSS

```css
background: linear-gradient(90deg, #000000 0.0%, #212121 16.7%, #5d5d5d 33.3%, #9f9f9f 50.0%, #dbdbdb 66.7%, #ffffff 83.3%, #ffffff 100.0%);
background: linear-gradient(90deg in oklch, oklch(1.97% 0.0000 89.88) 0.0%, oklch(24.64% 0.0000 89.88) 16.7%, oklch(47.77% 0.0000 89.88) 33.3%, oklch(70.15% 0.0000 89.88) 50.0%, oklch(89.03% 0.0000 89.88) 66.7%, oklch(99.92% 0.0000 89.88) 83.3%, oklch(100.00% 0.0000 89.88) 100.0%);
```

## Keyframes

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

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.02 | 0 | 96.3 |
| 2 | 0.295 | 0 | 99.5 |
| 3 | 0.567 | 0 | 97.4 |
| 4 | 0.823 | 0 | 97.4 |
| 5 | 0.988 | 0 | 99.5 |
| 6 | 1 | 0 | 97.4 |

## In these collections

- [Black and white gradients](https://grabient.com/black-and-white-gradients)

## Other forms

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