Slate Storm

Stormy blue-greys with a steel edge.

Mood
Cool
Colors
6
Space
OKLCH

Slate Storm, color by color

Stormy blue-greys with a steel edge.

#dbe6f2 L 0.92 · C 0.02 · H 250
#a5bad1 L 0.78 · C 0.04 · H 250
#6f89a3 L 0.62 · C 0.05 · H 248
#40617d L 0.48 · C 0.06 · H 245
#264056 L 0.36 · C 0.05 · H 245
#142537 L 0.26 · C 0.04 · H 250

Create Slate Storm 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.02 250)',
    'oklch(0.78 0.04 250)',
    'oklch(0.62 0.05 248)',
    'oklch(0.48 0.06 245)',
    'oklch(0.36 0.05 245)',
    'oklch(0.26 0.04 250)',
]);
use PhpColor\Color\Palette\ColorPalette; $palette = ColorPalette::parse([ 'oklch(0.92 0.02 250)', 'oklch(0.78 0.04 250)', 'oklch(0.62 0.05 248)', 'oklch(0.48 0.06 245)', 'oklch(0.36 0.05 245)', 'oklch(0.26 0.04 250)', ]);

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 Slate Storm 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 Slate Storm