# Black to white

Black, gray and white gradient with 7 colors: #000000, #010101, #060606, #161616, #323232, #818181, #f8f8f8. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Black, gray and white gradient
- Seed: `kWAwAAC4A_5mAP-1gD__IA_4`
- Page: https://grabient.com/kWAwAAC4A_5mAP-1gD__IA_4
- Drawn as: linear gradient, 7 steps, 90 degrees
- Kinds: dark to light, neutral, dark
- Hues: achromatic
- Contrast of its darkest and lightest colors: 19.8 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.18% 0.0000 89.88)` | Black | white, 20.9 to 1 |
| 2 | `#010101` | `oklch(5.91% 0.0000 89.88)` | Binary Black | white, 20.9 to 1 |
| 3 | `#060606` | `oklch(12.09% 0.0000 89.88)` | Black Metal | white, 20.2 to 1 |
| 4 | `#161616` | `oklch(20.08% 0.0000 89.88)` | Pot Black | white, 18 to 1 |
| 5 | `#323232` | `oklch(31.86% 0.0000 89.88)` | Tomcat | white, 12.7 to 1 |
| 6 | `#818181` | `oklch(60.32% 0.0000 89.88)` | Trolley Grey | black, 5.3 to 1 |
| 7 | `#f8f8f8` | `oklch(98.03% 0.0000 89.88)` | Zhēn Zhū Bái Pearl | black, 19.8 to 1 |

## CSS

```css
background: linear-gradient(90deg, #000000 0.0%, #010101 16.7%, #060606 33.3%, #161616 50.0%, #323232 66.7%, #818181 83.3%, #f8f8f8 100.0%);
background: linear-gradient(90deg in oklch, oklch(1.18% 0.0000 89.88) 0.0%, oklch(5.91% 0.0000 89.88) 16.7%, oklch(12.09% 0.0000 89.88) 33.3%, oklch(20.08% 0.0000 89.88) 50.0%, oklch(31.86% 0.0000 89.88) 66.7%, oklch(60.32% 0.0000 89.88) 83.3%, oklch(98.03% 0.0000 89.88) 100.0%);
```

## Keyframes

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

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.012 | 0 | 0 |
| 2 | 0.091 | 0 | 0 |
| 3 | 0.201 | 0 | 0 |
| 4 | 0.421 | 0 | 0 |
| 5 | 0.98 | 0 | 0 |

## In these collections

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

## Other forms

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