# Black to gold midnight

Monochrome black to tan gradient with 6 colors: #02050a, #1b1f27, #41403a, #7d6737, #c8a03f, #f4d876. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Monochrome black to tan gradient
- Seed: `kYHA22HoXAi8DrDCmj7XCzAHCswO`
- Page: https://grabient.com/kYHA22HoXAi8DrDCmj7XCzAHCswO?steps=6
- Drawn as: linear gradient, 6 steps, 90 degrees
- Kinds: dark to light, muted, monochrome
- Hues: monochromatic
- Contrast of its darkest and lightest colors: 14.5 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 | `#02050a` | `oklch(11.02% 0.0179 255.94)` | Eight Ball | white, 20.4 to 1 |
| 2 | `#1b1f27` | `oklch(24.02% 0.0152 261.22)` | Satin Deep Black | white, 16.4 to 1 |
| 3 | `#41403a` | `oklch(37.01% 0.0096 94.25)` | Joesmithite | white, 10.4 to 1 |
| 4 | `#7d6737` | `oklch(52.36% 0.0717 84.74)` | Blue Cheese Olive | white, 5.4 to 1 |
| 5 | `#c8a03f` | `oklch(72.44% 0.1226 85.80)` | Goldie | black, 8.5 to 1 |
| 6 | `#f4d876` | `oklch(88.58% 0.1226 94.25)` | Sandy | black, 14.9 to 1 |

## CSS

```css
background: linear-gradient(90deg, #02050a 0.0%, #1b1f27 20.0%, #41403a 40.0%, #7d6737 60.0%, #c8a03f 80.0%, #f4d876 100.0%);
background: linear-gradient(90deg in oklch, oklch(11.02% 0.0179 255.94) 0.0%, oklch(24.02% 0.0152 261.22) 20.0%, oklch(37.01% 0.0096 94.25) 40.0%, oklch(52.36% 0.0717 84.74) 60.0%, oklch(72.44% 0.1226 85.80) 80.0%, oklch(88.58% 0.1226 94.25) 100.0%);
```

## Keyframes

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

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.11 | 0.018 | 255.9 |
| 2 | 0.24 | 0.015 | 261.2 |
| 3 | 0.37 | 0.01 | 94.3 |
| 4 | 0.524 | 0.072 | 84.7 |
| 5 | 0.724 | 0.123 | 85.8 |
| 6 | 0.886 | 0.123 | 94.3 |

## In these collections

- [Black and gold gradients](https://grabient.com/black-and-gold-gradients)
- [Yellow gradients](https://grabient.com/yellow-gradients)

## Other forms

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