Burnt Orange
A mid, warm amber with the energy of a warm sky.
Create Burnt Orange 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;
$burntOrange = Color::parse('#CC5500');
use PhpColor\Color\Color;
$burntOrange = Color::parse('#CC5500');
ColorInterface
$burntOrange
#cc5500 · oklch(0.5948 0.1687 45.5)
Build a Burnt Orange harmony
tetradic() keeps Burnt Orange and adds three partners at equal quarter-turns around the OKLCH hue wheel.
<?php
$harmony = $burntOrange->tetradic();
foreach ($harmony as $color) {
echo $color->toHex().PHP_EOL;
}
$harmony = $burntOrange->tetradic();
foreach ($harmony as $color) {
echo $color->toHex().PHP_EOL;
}
- 0
#cc5500 - 1
#4c9312 - 2
#008fca - 3
#a459c2
Generate a Burnt Orange scale
Keep the original hue and chroma, then vary OKLCH lightness to produce perceptually ordered steps.
<?php
$oklch = $burntOrange->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 = $burntOrange->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
Format Burnt Orange for the web
The same object can emit a compact Hex value, an sRGB CSS function, or its perceptual OKLCH coordinates.
<?php
$hex = $burntOrange->toHex();
$rgb = $burntOrange->toCss('srgb');
$oklch = $burntOrange->to('oklch')->toCss();
$hex = $burntOrange->toHex();
$rgb = $burntOrange->toCss('srgb');
$oklch = $burntOrange->to('oklch')->toCss();
- hex
#cc5500- rgb
rgb(204 85 0)- oklch
oklch(0.594841 0.168676 45.4846)