#d7ebda
L 0.92 · C 0.03 · H 150
Sage Mist
Muted sage greens softened toward grey.
- Mood
- Earthy
- Colors
- 6
- Space
- OKLCH
Sage Mist, color by color
Muted sage greens softened toward grey.
#aeceb3
L 0.82 · C 0.05 · H 150
#8ab091
L 0.72 · C 0.06 · H 150
#638b71
L 0.6 · C 0.06 · H 155
#476651
L 0.48 · C 0.05 · H 155
#2f493b
L 0.38 · C 0.04 · H 160
Create Sage Mist 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.92 0.03 150)',
'oklch(0.82 0.05 150)',
'oklch(0.72 0.06 150)',
'oklch(0.60 0.06 155)',
'oklch(0.48 0.05 155)',
'oklch(0.38 0.04 160)',
]);
use PhpColor\Color\Palette\ColorPalette;
$palette = ColorPalette::parse([
'oklch(0.92 0.03 150)',
'oklch(0.82 0.05 150)',
'oklch(0.72 0.06 150)',
'oklch(0.60 0.06 155)',
'oklch(0.48 0.05 155)',
'oklch(0.38 0.04 160)',
]);
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 Sage Mist 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();