#000616
L 0.12 · C 0.05 · H 240
Arctic Night
Frozen, crystalline blues and deep navy shadows.
- Mood
- Dark
- Colors
- 5
- Space
- OKLCH
Arctic Night, color by color
Frozen, crystalline blues and deep navy shadows.
#001836
L 0.2 · C 0.08 · H 240
#00426c
L 0.35 · C 0.12 · H 230
#017e9a
L 0.55 · C 0.1 · H 220
#a9d7e0
L 0.85 · C 0.05 · H 210
Create Arctic Night 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.12 0.05 240)',
'oklch(0.20 0.08 240)',
'oklch(0.35 0.12 230)',
'oklch(0.55 0.10 220)',
'oklch(0.85 0.05 210)',
]);
use PhpColor\Color\Palette\ColorPalette;
$palette = ColorPalette::parse([
'oklch(0.12 0.05 240)',
'oklch(0.20 0.08 240)',
'oklch(0.35 0.12 230)',
'oklch(0.55 0.10 220)',
'oklch(0.85 0.05 210)',
]);
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 Arctic Night 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();