#f9e1c0
L 0.92 · C 0.05 · H 75
Rustic Oak
Warm, reliable browns and tans inspired by weathered wood.
- Mood
- Earthy
- Colors
- 5
- Space
- OKLCH
Rustic Oak, color by color
Warm, reliable browns and tans inspired by weathered wood.
#e7b375
L 0.8 · C 0.1 · H 70
#bb6900
L 0.6 · C 0.15 · H 65
#844100
L 0.45 · C 0.12 · H 60
#4b2000
L 0.3 · C 0.08 · H 55
Create Rustic Oak 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.05 75)',
'oklch(0.80 0.10 70)',
'oklch(0.60 0.15 65)',
'oklch(0.45 0.12 60)',
'oklch(0.30 0.08 55)',
]);
use PhpColor\Color\Palette\ColorPalette;
$palette = ColorPalette::parse([
'oklch(0.92 0.05 75)',
'oklch(0.80 0.10 70)',
'oklch(0.60 0.15 65)',
'oklch(0.45 0.12 60)',
'oklch(0.30 0.08 55)',
]);
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 Rustic Oak 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();