LightSteelBlue
A light, cool indigo -- the dependable foundation of trustworthy interfaces.
Create LightSteelBlue 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;
$lightsteelblue = Color::parse('#B0C4DE');
use PhpColor\Color\Color;
$lightsteelblue = Color::parse('#B0C4DE');
ColorInterface
$lightsteelblue
#b0c4de · oklch(0.8136 0.0428 255.0)
Build a LightSteelBlue harmony
tetradic() keeps LightSteelBlue and adds three partners at equal quarter-turns around the OKLCH hue wheel.
<?php
$harmony = $lightsteelblue->tetradic();
foreach ($harmony as $color) {
echo $color->toHex().PHP_EOL;
}
$harmony = $lightsteelblue->tetradic();
foreach ($harmony as $color) {
echo $color->toHex().PHP_EOL;
}
- 0
#b0c4de - 1
#d7b8c8 - 2
#d3bfa4 - 3
#a9cbbb
Generate a LightSteelBlue scale
Keep the original hue and chroma, then vary OKLCH lightness to produce perceptually ordered steps.
<?php
$oklch = $lightsteelblue->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 = $lightsteelblue->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
Format LightSteelBlue for the web
The same object can emit a compact Hex value, an sRGB CSS function, or its perceptual OKLCH coordinates.
<?php
$hex = $lightsteelblue->toHex();
$rgb = $lightsteelblue->toCss('srgb');
$oklch = $lightsteelblue->to('oklch')->toCss();
$hex = $lightsteelblue->toHex();
$rgb = $lightsteelblue->toCss('srgb');
$oklch = $lightsteelblue->to('oklch')->toCss();
- hex
#b0c4de- rgb
rgb(176 196 222)- oklch
oklch(0.813623 0.0428079 255.033)