Blood Orange

Deep citrus reds and punchy oranges.

Mood
Warm
Colors
5
Space
OKLCH

Blood Orange, color by color

Deep citrus reds and punchy oranges.

#ffcbbf L 0.9 · C 0.08 · H 30
#ff948c L 0.8 · C 0.15 · H 25
#f83e54 L 0.65 · C 0.22 · H 20
#ca0031 L 0.5 · C 0.25 · H 15
#7d0024 L 0.35 · C 0.18 · H 10

Create Blood Orange 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.90 0.08 30)',
    'oklch(0.80 0.15 25)',
    'oklch(0.65 0.22 20)',
    'oklch(0.50 0.25 15)',
    'oklch(0.35 0.18 10)',
]);
use PhpColor\Color\Palette\ColorPalette; $palette = ColorPalette::parse([ 'oklch(0.90 0.08 30)', 'oklch(0.80 0.15 25)', 'oklch(0.65 0.22 20)', 'oklch(0.50 0.25 15)', 'oklch(0.35 0.18 10)', ]);

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 Blood Orange 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 Blood Orange