# Cobalt scarlet black diagonal

Rainbow from yellow to green linear swatches with 5 colors: #f2c510, #0a3be0, #d92e39, #050203, #2a8347. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Rainbow from yellow to green linear swatches
- Seed: `kW1XtButrUUnKzgMBLxxS3SY`
- Page: https://grabient.com/kW1XtButrUUnKzgMBLxxS3SY?style=linearSwatches&steps=5&angle=45
- Drawn as: linear swatches, 5 steps, 45 degrees
- Kinds: dark center, vivid, rainbow
- Hues: two-hue
- Contrast of its darkest and lightest colors: 12.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 | `#f2c510` | `oklch(83.86% 0.1695 92.11)` | Moon Yellow | black, 12.7 to 1 |
| 2 | `#0a3be0` | `oklch(46.06% 0.2494 264.36)` | Merchant Marine Blue | white, 7.7 to 1 |
| 3 | `#d92e39` | `oklch(57.87% 0.2053 23.77)` | Safflower Red | white, 4.7 to 1 |
| 4 | `#050203` | `oklch(9.45% 0.0124 354.18)` | Raven’s Coat | white, 20.6 to 1 |
| 5 | `#2a8347` | `oklch(54.33% 0.1254 150.58)` | Vine | white, 4.7 to 1 |

## CSS

```css
background: linear-gradient(45deg, #f2c510 0.000% 20.000%, #0a3be0 20.000% 40.000%, #d92e39 40.000% 60.000%, #050203 60.000% 80.000%, #2a8347 80.000% 100.000%);
background: linear-gradient(45deg, oklch(83.86% 0.1695 92.11) 0.000% 20.000%, oklch(46.06% 0.2494 264.36) 20.000% 40.000%, oklch(57.87% 0.2053 23.77) 40.000% 60.000%, oklch(9.45% 0.0124 354.18) 60.000% 80.000%, oklch(54.33% 0.1254 150.58) 80.000% 100.000%);
```

## Keyframes

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

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.839 | 0.169 | 92.1 |
| 2 | 0.461 | 0.249 | 264.4 |
| 3 | 0.579 | 0.205 | 383.8 |
| 4 | 0.094 | 0.012 | 354.2 |
| 5 | 0.543 | 0.125 | 510.6 |

## In these collections

- [Street Fighter swatches](https://grabient.com/street-fighter-swatches)

## Other forms

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