#5af169
L 0.85 · C 0.22 · H 145
Arctic Aurora
Northern lights -- greens, blues, and violet.
- Mood
- Cool
- Colors
- 7
- Space
- OKLCH
Arctic Aurora, color by color
Cold greens and blues lifted by a violet edge, with lightness climbing evenly across the stops. That even step means it gradients cleanly and works as a background wash as readily as a row of discrete accents. At home in fintech and data viz.
#00e49f
L 0.78 · C 0.24 · H 170
#00c2d4
L 0.7 · C 0.22 · H 200
#008eff
L 0.62 · C 0.24 · H 240
#6851ff
L 0.58 · C 0.26 · H 280
#a300e7
L 0.55 · C 0.28 · H 310
#d425ac
L 0.6 · C 0.24 · H 340
Create Arctic Aurora 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.85 0.22 145)',
'oklch(0.78 0.24 170)',
'oklch(0.70 0.22 200)',
'oklch(0.62 0.24 240)',
'oklch(0.58 0.26 280)',
'oklch(0.55 0.28 310)',
'oklch(0.60 0.24 340)',
]);
use PhpColor\Color\Palette\ColorPalette;
$palette = ColorPalette::parse([
'oklch(0.85 0.22 145)',
'oklch(0.78 0.24 170)',
'oklch(0.70 0.22 200)',
'oklch(0.62 0.24 240)',
'oklch(0.58 0.26 280)',
'oklch(0.55 0.28 310)',
'oklch(0.60 0.24 340)',
]);
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 Aurora 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();