Arctic Pulse

A linear gradient sweeping from pastel cyan to pastel indigo, interpolated in OKLCH across 3 stops so the midpoint stays vivid instead of greying out.

Type
Linear
Stops
3
Space
OKLCH
Direction
90deg

The stops behind Arctic Pulse

Endpoints sit closest to azure and aliceblue.

0% · #e1f2f8 L 0.95 · C 0.02 · H 220
50% · #3db9ff L 0.75 · C 0.15 · H 240
100% · #e7effc L 0.95 · C 0.02 · H 260

Create Arctic Pulse 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(
    90,
    'oklch(0.95 0.02 220)',
    'oklch(0.75 0.15 240)',
    'oklch(0.95 0.02 260)',
);
use PhpColor\Color\Gradient\Gradient; $gradient = Gradient::linear( 90, 'oklch(0.95 0.02 220)', 'oklch(0.75 0.15 240)', 'oklch(0.95 0.02 260)', );

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 Pulse 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(90deg, oklch(0.95 0.02 220), oklch(0.75 0.15 240), oklch(0.95 0.02 260));
background: linear-gradient(90deg, oklch(0.95 0.02 220), oklch(0.75 0.15 240), oklch(0.95 0.02 260));

Keep exploring

Build on Arctic Pulse