#ffcd9e
L 0.9 · C 0.1 · H 55
Sunset Glow
Warm oranges and roses fading into deep violet.
- Mood
- Warm
- Colors
- 6
- Space
- OKLCH
Sunset Glow, color by color
Warmth with a built-in anchor. The oranges carry marketing heroes and calls to action; the deep violet at the end keeps the set from reading like a warning banner. Good for launch pages and storytelling sections that need energy without alarm.
#ff8f55
L 0.82 · C 0.2 · H 40
#ff3d47
L 0.72 · C 0.26 · H 25
#ff0067
L 0.65 · C 0.28 · H 10
#dd008f
L 0.58 · C 0.26 · H 350
#9b0096
L 0.48 · C 0.22 · H 330
Create Sunset Glow 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.10 55)',
'oklch(0.82 0.20 40)',
'oklch(0.72 0.26 25)',
'oklch(0.65 0.28 10)',
'oklch(0.58 0.26 350)',
'oklch(0.48 0.22 330)',
]);
use PhpColor\Color\Palette\ColorPalette;
$palette = ColorPalette::parse([
'oklch(0.90 0.10 55)',
'oklch(0.82 0.20 40)',
'oklch(0.72 0.26 25)',
'oklch(0.65 0.28 10)',
'oklch(0.58 0.26 350)',
'oklch(0.48 0.22 330)',
]);
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 Sunset Glow 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();