Indigo Night

Midnight blue tones for serious development environments.

Mood
Dark
Colors
5
Space
OKLCH

Indigo Night, color by color

Midnight blue tones for serious development environments.

#020418 L 0.12 · C 0.05 · H 270
#0b1248 L 0.22 · C 0.1 · H 270
#122f87 L 0.35 · C 0.15 · H 265
#3e68ad L 0.52 · C 0.12 · H 260
#8cb1e0 L 0.75 · C 0.08 · H 255

Create Indigo 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 270)',
    'oklch(0.22 0.10 270)',
    'oklch(0.35 0.15 265)',
    'oklch(0.52 0.12 260)',
    'oklch(0.75 0.08 255)',
]);
use PhpColor\Color\Palette\ColorPalette; $palette = ColorPalette::parse([ 'oklch(0.12 0.05 270)', 'oklch(0.22 0.10 270)', 'oklch(0.35 0.15 265)', 'oklch(0.52 0.12 260)', 'oklch(0.75 0.08 255)', ]);

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 Indigo 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();

Keep exploring

Build on Indigo Night