#1e0004
L 0.15 · C 0.06 · H 15
Deep Wine
Rich, sophisticated burgundies for elegant dark themes.
- Mood
- Dark
- Colors
- 5
- Space
- OKLCH
Deep Wine, color by color
Rich, sophisticated burgundies for elegant dark themes.
#450016
L 0.25 · C 0.1 · H 10
#730030
L 0.35 · C 0.15 · H 5
#a61859
L 0.48 · C 0.18 · H 0
#c56f99
L 0.65 · C 0.12 · H 350
Create Deep Wine 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.15 0.06 15)',
'oklch(0.25 0.10 10)',
'oklch(0.35 0.15 5)',
'oklch(0.48 0.18 0)',
'oklch(0.65 0.12 350)',
]);
use PhpColor\Color\Palette\ColorPalette;
$palette = ColorPalette::parse([
'oklch(0.15 0.06 15)',
'oklch(0.25 0.10 10)',
'oklch(0.35 0.15 5)',
'oklch(0.48 0.18 0)',
'oklch(0.65 0.12 350)',
]);
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 Deep Wine 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();