OrangeRed

A mid, warm orange with the energy of a warm sky.

Hex
#ff4500
sRGB
rgb(255 69 0)
OKLCH
oklch(0.6602 0.2294 35.4)

OrangeRed is a standard CSS named color with the canonical value #ff4500.

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

$orangered = Color::parse('#FF4500');
use PhpColor\Color\Color; $orangered = Color::parse('#FF4500');

ColorInterface

$orangered

#ff4500 · oklch(0.6602 0.2294 35.4)

Build an OrangeRed harmony

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

<?php

$harmony = $orangered->tetradic();

foreach ($harmony as $color) {
    echo $color->toHex().PHP_EOL;
}
$harmony = $orangered->tetradic(); foreach ($harmony as $color) { echo $color->toHex().PHP_EOL; }
  1. 0#ff4500
  2. 1#71a700
  3. 2#00aee9
  4. 3#b560ff
OrangeRed and its three generated partners

Generate an OrangeRed scale

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

<?php

$oklch = $orangered->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 = $orangered->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 OrangeRed for the web

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

<?php

$hex   = $orangered->toHex();
$rgb   = $orangered->toCss('srgb');
$oklch = $orangered->to('oklch')->toCss();
$hex = $orangered->toHex(); $rgb = $orangered->toCss('srgb'); $oklch = $orangered->to('oklch')->toCss();
hex
#ff4500
rgb
rgb(255 69 0)
oklch
oklch(0.660199 0.229356 35.4025)

Keep exploring

Continue from OrangeRed