0% · #c2f9ff
L 0.95 · C 0.06 · H 220
Arctic Dawn
A linear gradient sweeping from pastel cyan to mid indigo, interpolated in OKLCH across 3 stops so the midpoint stays vivid instead of greying out.
- Type
- Linear
- Stops
- 3
- Space
- OKLCH
- Direction
- 180deg
The stops behind Arctic Dawn
Endpoints sit closest to paleturquoise and cornflowerblue.
50% · #76ceff
L 0.82 · C 0.12 · H 240
100% · #7896ff
L 0.7 · C 0.16 · H 270
Create Arctic Dawn in PHP
Build a linear gradient from the catalog stops, then let PHPColor assign their positions.
<?php
use PhpColor\Color\Gradient\Gradient;
$gradient = Gradient::linear(
180,
'oklch(0.95 0.06 220)',
'oklch(0.82 0.12 240)',
'oklch(0.70 0.16 270)',
);
use PhpColor\Color\Gradient\Gradient;
$gradient = Gradient::linear(
180,
'oklch(0.95 0.06 220)',
'oklch(0.82 0.12 240)',
'oklch(0.70 0.16 270)',
);
Inspect and convert its stops
Each stop remains a color object, ready for conversion, contrast checks, or further manipulation.
<?php
foreach ($gradient->getStops() as $stop) {
echo $stop->color->to('oklch')->toCss();
}
foreach ($gradient->getStops() as $stop) {
echo $stop->color->to('oklch')->toCss();
}
Format Arctic Dawn for CSS
Serialize the gradient directly, or choose a wide-gamut notation for every stop.
<?php
$css = $gradient->toCss();
$p3 = $gradient->toCss('display-p3');
$css = $gradient->toCss();
$p3 = $gradient->toCss('display-p3');
background: linear-gradient(180deg, oklch(0.95 0.06 220), oklch(0.82 0.12 240), oklch(0.70 0.16 270));
background: linear-gradient(180deg, oklch(0.95 0.06 220), oklch(0.82 0.12 240), oklch(0.70 0.16 270));