#a6ebff
L 0.92 · C 0.12 · H 250
Electric Sky
Digital blue that pops against any dark mode.
- Mood
- Vivid
- Colors
- 5
- Space
- OKLCH
Electric Sky, color by color
Digital blue that pops against any dark mode.
#58bfff
L 0.8 · C 0.2 · H 255
#007dff
L 0.65 · C 0.28 · H 260
#1a49ee
L 0.5 · C 0.25 · H 265
#1d2496
L 0.35 · C 0.18 · H 270
Create Electric Sky 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 250)',
'oklch(0.80 0.20 255)',
'oklch(0.65 0.28 260)',
'oklch(0.50 0.25 265)',
'oklch(0.35 0.18 270)',
]);
use PhpColor\Color\Palette\ColorPalette;
$palette = ColorPalette::parse([
'oklch(0.92 0.12 250)',
'oklch(0.80 0.20 255)',
'oklch(0.65 0.28 260)',
'oklch(0.50 0.25 265)',
'oklch(0.35 0.18 270)',
]);
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 Sky 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();