Storm Clouds

Moody grays before the first strike of lightning.

Mood
Cool
Colors
5
Space
OKLCH

Storm Clouds, color by color

Moody grays before the first strike of lightning.

#e1e5eb L 0.92 · C 0.01 · H 260
#b3bfd2 L 0.8 · C 0.03 · H 260
#7b91ae L 0.65 · C 0.05 · H 255
#386189 L 0.48 · C 0.08 · H 250
#15364f L 0.32 · C 0.06 · H 245

Create Storm Clouds 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.01 260)',
    'oklch(0.80 0.03 260)',
    'oklch(0.65 0.05 255)',
    'oklch(0.48 0.08 250)',
    'oklch(0.32 0.06 245)',
]);
use PhpColor\Color\Palette\ColorPalette; $palette = ColorPalette::parse([ 'oklch(0.92 0.01 260)', 'oklch(0.80 0.03 260)', 'oklch(0.65 0.05 255)', 'oklch(0.48 0.08 250)', 'oklch(0.32 0.06 245)', ]);

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