Ice Blue

A pastel, cool cyan -- the dependable foundation of trustworthy interfaces.

Hex
#99ffff
sRGB
rgb(153 255 255)
OKLCH
oklch(0.9380 0.0956 195.6)

Ice Blue is a curated PHPColor catalog color with the canonical value #99ffff.

Create Ice Blue 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;

$iceBlue = Color::parse('#99FFFF');
use PhpColor\Color\Color; $iceBlue = Color::parse('#99FFFF');

ColorInterface

$iceBlue

#99ffff · oklch(0.9380 0.0956 195.6)

Build an Ice Blue harmony

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

<?php

$harmony = $iceBlue->tetradic();

foreach ($harmony as $color) {
    echo $color->toHex().PHP_EOL;
}
$harmony = $iceBlue->tetradic(); foreach ($harmony as $color) { echo $color->toHex().PHP_EOL; }
  1. 0#99ffff
  2. 1#e4e2ff
  3. 2#ffd1d5
  4. 3#f3efa3
Ice Blue and its three generated partners

Generate an Ice Blue scale

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

<?php

$oklch = $iceBlue->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 = $iceBlue->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 Ice Blue for the web

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

<?php

$hex   = $iceBlue->toHex();
$rgb   = $iceBlue->toCss('srgb');
$oklch = $iceBlue->to('oklch')->toCss();
$hex = $iceBlue->toHex(); $rgb = $iceBlue->toCss('srgb'); $oklch = $iceBlue->to('oklch')->toCss();
hex
#99ffff
rgb
rgb(153 255 255)
oklch
oklch(0.937974 0.0956469 195.644)

Keep exploring

Continue from Ice Blue