SaddleBrown

A deep, warm amber with the energy of a warm sky.

Hex
#8b4513
sRGB
rgb(139 69 19)
OKLCH
oklch(0.4708 0.1121 50.8)

SaddleBrown is a standard CSS named color with the canonical value #8b4513.

Create SaddleBrown in PHP

Parse the catalog’s canonical value once, then keep the resulting color object throughout the rest of your code.

<?php

use PhpColor\Color\Color;

$saddlebrown = Color::parse('#8B4513');
use PhpColor\Color\Color; $saddlebrown = Color::parse('#8B4513');

ColorInterface

$saddlebrown

#8b4513 · oklch(0.4708 0.1121 50.8)

Build a SaddleBrown harmony

tetradic() keeps SaddleBrown and adds three partners at equal quarter-turns around the OKLCH hue wheel.

<?php

$harmony = $saddlebrown->tetradic();

foreach ($harmony as $color) {
    echo $color->toHex().PHP_EOL;
}
$harmony = $saddlebrown->tetradic(); foreach ($harmony as $color) { echo $color->toHex().PHP_EOL; }
  1. 0#8b4513
  2. 1#336a2a
  3. 2#00658e
  4. 3#774381
SaddleBrown and its three generated partners

Generate a SaddleBrown scale

Keep the original hue and chroma, then vary OKLCH lightness to produce perceptually ordered steps.

<?php

$oklch = $saddlebrown->to('oklch');

foreach ([0.97, 0.92, 0.84, 0.74, 0.66, 0.58, 0.48, 0.40, 0.32, 0.24, 0.16] as $lightness) {
    $step = $oklch->withChannel('l', $lightness);
}
$oklch = $saddlebrown->to('oklch'); foreach ([0.97, 0.92, 0.84, 0.74, 0.66, 0.58, 0.48, 0.40, 0.32, 0.24, 0.16] as $lightness) { $step = $oklch->withChannel('l', $lightness); }
50
100
200
300
400
500
600
700
800
900
950
Explore named color scales →

Format SaddleBrown for the web

The same object can emit a compact Hex value, an sRGB CSS function, or its perceptual OKLCH coordinates.

<?php

$hex   = $saddlebrown->toHex();
$rgb   = $saddlebrown->toCss('srgb');
$oklch = $saddlebrown->to('oklch')->toCss();
$hex = $saddlebrown->toHex(); $rgb = $saddlebrown->toCss('srgb'); $oklch = $saddlebrown->to('oklch')->toCss();
hex
#8b4513
rgb
rgb(139 69 19)
oklch
oklch(0.470784 0.112142 50.8452)

Keep exploring

Continue from SaddleBrown