SkyBlue

A light, cool blue -- the dependable foundation of trustworthy interfaces.

Hex
#87ceeb
sRGB
rgb(135 206 235)
OKLCH
oklch(0.8148 0.0819 225.8)

SkyBlue is a standard CSS named color with the canonical value #87ceeb.

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

$skyblue = Color::parse('#87CEEB');
use PhpColor\Color\Color; $skyblue = Color::parse('#87CEEB');

ColorInterface

$skyblue

#87ceeb · oklch(0.8148 0.0819 225.8)

Build a SkyBlue harmony

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

<?php

$harmony = $skyblue->tetradic();

foreach ($harmony as $color) {
    echo $color->toHex().PHP_EOL;
}
$harmony = $skyblue->tetradic(); foreach ($harmony as $color) { echo $color->toHex().PHP_EOL; }
  1. 0#87ceeb
  2. 1#d7b3e7
  3. 2#f0b296
  4. 3#abcf9a
SkyBlue and its three generated partners

Generate a SkyBlue scale

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

<?php

$oklch = $skyblue->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 = $skyblue->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 SkyBlue for the web

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

<?php

$hex   = $skyblue->toHex();
$rgb   = $skyblue->toCss('srgb');
$oklch = $skyblue->to('oklch')->toCss();
$hex = $skyblue->toHex(); $rgb = $skyblue->toCss('srgb'); $oklch = $skyblue->to('oklch')->toCss();
hex
#87ceeb
rgb
rgb(135 206 235)
oklch
oklch(0.814817 0.0819157 225.754)

Keep exploring

Continue from SkyBlue