DeepSkyBlue

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

Hex
#00bfff
sRGB
rgb(0 191 255)
OKLCH
oklch(0.7554 0.1534 231.6)

DeepSkyBlue is a standard CSS named color with the canonical value #00bfff.

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

$deepskyblue = Color::parse('#00BFFF');
use PhpColor\Color\Color; $deepskyblue = Color::parse('#00BFFF');

ColorInterface

$deepskyblue

#00bfff · oklch(0.7554 0.1534 231.6)

Build a DeepSkyBlue harmony

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

<?php

$harmony = $deepskyblue->tetradic();

foreach ($harmony as $color) {
    echo $color->toHex().PHP_EOL;
}
$harmony = $deepskyblue->tetradic(); foreach ($harmony as $color) { echo $color->toHex().PHP_EOL; }
  1. 0#00bfff
  2. 1#dc8de9
  3. 2#fa904a
  4. 3#73c769
DeepSkyBlue and its three generated partners

Generate a DeepSkyBlue scale

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

<?php

$oklch = $deepskyblue->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 = $deepskyblue->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 DeepSkyBlue for the web

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

<?php

$hex   = $deepskyblue->toHex();
$rgb   = $deepskyblue->toCss('srgb');
$oklch = $deepskyblue->to('oklch')->toCss();
$hex = $deepskyblue->toHex(); $rgb = $deepskyblue->toCss('srgb'); $oklch = $deepskyblue->to('oklch')->toCss();
hex
#00bfff
rgb
rgb(0 191 255)
oklch
oklch(0.75535 0.153422 231.639)

Keep exploring

Continue from DeepSkyBlue