#f6e1c9
L 0.92 · C 0.04 · H 70
Desert Sand
Muted earth tones and warm neutrals.
- Mood
- Earthy
- Colors
- 6
- Space
- OKLCH
Desert Sand, color by color
Muted earth tones and warm neutrals.
#f3c497
L 0.85 · C 0.08 · H 65
#f2a26a
L 0.78 · C 0.12 · H 55
#de7949
L 0.68 · C 0.14 · H 45
#b65d47
L 0.58 · C 0.12 · H 35
#7c433a
L 0.45 · C 0.08 · H 30
Create Desert Sand 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.04 70)',
'oklch(0.85 0.08 65)',
'oklch(0.78 0.12 55)',
'oklch(0.68 0.14 45)',
'oklch(0.58 0.12 35)',
'oklch(0.45 0.08 30)',
]);
use PhpColor\Color\Palette\ColorPalette;
$palette = ColorPalette::parse([
'oklch(0.92 0.04 70)',
'oklch(0.85 0.08 65)',
'oklch(0.78 0.12 55)',
'oklch(0.68 0.14 45)',
'oklch(0.58 0.12 35)',
'oklch(0.45 0.08 30)',
]);
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 Desert Sand 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();