#f2fafd
L 0.98 · C 0.01 · H 220
Nordic Frost
Soft, ethereal blues and grays from the high north.
- Mood
- Cool
- Colors
- 5
- Space
- OKLCH
Nordic Frost, color by color
Soft, ethereal blues and grays from the high north.
#c9e3ec
L 0.9 · C 0.03 · H 220
#9cc5d6
L 0.8 · C 0.05 · H 225
#5898b7
L 0.65 · C 0.08 · H 230
#345a73
L 0.45 · C 0.06 · H 240
Create Nordic Frost 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.98 0.01 220)',
'oklch(0.90 0.03 220)',
'oklch(0.80 0.05 225)',
'oklch(0.65 0.08 230)',
'oklch(0.45 0.06 240)',
]);
use PhpColor\Color\Palette\ColorPalette;
$palette = ColorPalette::parse([
'oklch(0.98 0.01 220)',
'oklch(0.90 0.03 220)',
'oklch(0.80 0.05 225)',
'oklch(0.65 0.08 230)',
'oklch(0.45 0.06 240)',
]);
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 Nordic Frost 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();