Peach

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

Hex
#fb923c
sRGB
rgb(251 146 60)
OKLCH
oklch(0.7576 0.1590 55.9)

Peach is a curated PHPColor catalog color with the canonical value #fb923c.

Create Peach 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;

$peach = Color::parse('#FB923C');
use PhpColor\Color\Color; $peach = Color::parse('#FB923C');

ColorInterface

$peach

#fb923c · oklch(0.7576 0.1590 55.9)

Build a Peach harmony

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

<?php

$harmony = $peach->tetradic();

foreach ($harmony as $color) {
    echo $color->toHex().PHP_EOL;
}
$harmony = $peach->tetradic(); foreach ($harmony as $color) { echo $color->toHex().PHP_EOL; }
  1. 0#fb923c
  2. 1#65cb70
  3. 2#18beff
  4. 3#e38ae6
Peach and its three generated partners

Generate a Peach scale

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

<?php

$oklch = $peach->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 = $peach->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 Peach for the web

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

<?php

$hex   = $peach->toHex();
$rgb   = $peach->toCss('srgb');
$oklch = $peach->to('oklch')->toCss();
$hex = $peach->toHex(); $rgb = $peach->toCss('srgb'); $oklch = $peach->to('oklch')->toCss();
hex
#fb923c
rgb
rgb(251 146 60)
oklch
oklch(0.75764 0.159037 55.9344)

Keep exploring

Continue from Peach