Deep Sea

A linear gradient sweeping from light teal to deep blue, interpolated in OKLCH across 2 stops so the midpoint stays vivid instead of greying out.

Type
Linear
Stops
2
Space
OKLCH
Direction
180deg

The stops behind Deep Sea

Endpoints sit closest to turquoise and royalblue.

0% · #00ddd4 L 0.8 · C 0.16 · H 190
100% · #0069c7 L 0.5 · C 0.2 · H 240

Create Deep Sea 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.80 0.16 190)',
    'oklch(0.50 0.20 240)',
);
use PhpColor\Color\Gradient\Gradient; $gradient = Gradient::linear( 180, 'oklch(0.80 0.16 190)', 'oklch(0.50 0.20 240)', );

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 Deep Sea 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.80 0.16 190), oklch(0.50 0.20 240));
background: linear-gradient(180deg, oklch(0.80 0.16 190), oklch(0.50 0.20 240));