Electric Blue

High-chroma, digital-first blues that demand attention.

Mood
Vivid
Colors
5
Space
OKLCH

Electric Blue, color by color

High-chroma, digital-first blues that demand attention.

#aee8ff L 0.92 · C 0.12 · H 255
#3fc3ff L 0.8 · C 0.2 · H 250
#0090ff L 0.65 · C 0.28 · H 245
#005ef8 L 0.5 · C 0.3 · H 240
#0036a6 L 0.35 · C 0.25 · H 235

Create Electric Blue in PHP

Parse the catalog values as one ordered scale. The input remains readable while PHPColor normalizes every color.

<?php

use PhpColor\Color\Palette\ColorPalette;

$palette = ColorPalette::parse([
    'oklch(0.92 0.12 255)',
    'oklch(0.80 0.20 250)',
    'oklch(0.65 0.28 245)',
    'oklch(0.50 0.30 240)',
    'oklch(0.35 0.25 235)',
]);
use PhpColor\Color\Palette\ColorPalette; $palette = ColorPalette::parse([ 'oklch(0.92 0.12 255)', 'oklch(0.80 0.20 250)', 'oklch(0.65 0.28 245)', 'oklch(0.50 0.30 240)', 'oklch(0.35 0.25 235)', ]);

Inspect every palette color

Palette operations preserve order, so iteration and conversion produce values in the same visual sequence.

<?php

foreach ($palette->to('oklch') as $color) {
    echo $color->toCss().PHP_EOL;
}
foreach ($palette->to('oklch') as $color) { echo $color->toCss().PHP_EOL; }

Format Electric Blue for CSS

Export hexadecimal values for compact tokens or convert the full palette to perceptual CSS notation.

<?php

$hex = $palette->toHex();
$css = $palette->to('oklch')->toCss();
$hex = $palette->toHex(); $css = $palette->to('oklch')->toCss();

Keep exploring

Build on Electric Blue