#ffe8e7
L 0.96 · C 0.04 · H 20
Blush & Gold
Elegant, feminine pinks paired with sun-baked gold.
- Mood
- Warm
- Colors
- 5
- Space
- OKLCH
Blush & Gold, color by color
Elegant, feminine pinks paired with sun-baked gold.
#ffc3c7
L 0.88 · C 0.08 · H 15
#e1b75c
L 0.8 · C 0.12 · H 85
#be8200
L 0.65 · C 0.15 · H 80
#7b4800
L 0.45 · C 0.12 · H 75
Create Blush & Gold 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.96 0.04 20)',
'oklch(0.88 0.08 15)',
'oklch(0.80 0.12 85)',
'oklch(0.65 0.15 80)',
'oklch(0.45 0.12 75)',
]);
use PhpColor\Color\Palette\ColorPalette;
$palette = ColorPalette::parse([
'oklch(0.96 0.04 20)',
'oklch(0.88 0.08 15)',
'oklch(0.80 0.12 85)',
'oklch(0.65 0.15 80)',
'oklch(0.45 0.12 75)',
]);
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 Blush & Gold 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();