Cyber Blue

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

Type
Linear
Stops
2
Space
OKLCH
Direction
135deg

The stops behind Cyber Blue

Endpoints sit closest to deepskyblue and blue.

0% · #00afff L 0.75 · C 0.25 · H 250
100% · #2d19ec L 0.45 · C 0.28 · H 270

Create Cyber Blue 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(
    135,
    'oklch(0.75 0.25 250)',
    'oklch(0.45 0.28 270)',
);
use PhpColor\Color\Gradient\Gradient; $gradient = Gradient::linear( 135, 'oklch(0.75 0.25 250)', 'oklch(0.45 0.28 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 Cyber Blue 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(135deg, oklch(0.75 0.25 250), oklch(0.45 0.28 270));
background: linear-gradient(135deg, oklch(0.75 0.25 250), oklch(0.45 0.28 270));