LightSeaGreen

A mid, cool teal -- the dependable foundation of trustworthy interfaces.

Hex
#20b2aa
sRGB
rgb(32 178 170)
OKLCH
oklch(0.6912 0.1142 189.0)

LightSeaGreen is a standard CSS named color with the canonical value #20b2aa.

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

$lightseagreen = Color::parse('#20B2AA');
use PhpColor\Color\Color; $lightseagreen = Color::parse('#20B2AA');

ColorInterface

$lightseagreen

#20b2aa · oklch(0.6912 0.1142 189.0)

Build a LightSeaGreen harmony

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

<?php

$harmony = $lightseagreen->tetradic();

foreach ($harmony as $color) {
    echo $color->toHex().PHP_EOL;
}
$harmony = $lightseagreen->tetradic(); foreach ($harmony as $color) { echo $color->toHex().PHP_EOL; }
  1. 0#20b2aa
  2. 1#8d94e1
  3. 2#d87c8d
  4. 3#ad9d40
LightSeaGreen and its three generated partners

Generate a LightSeaGreen scale

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

<?php

$oklch = $lightseagreen->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 = $lightseagreen->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 LightSeaGreen for the web

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

<?php

$hex   = $lightseagreen->toHex();
$rgb   = $lightseagreen->toCss('srgb');
$oklch = $lightseagreen->to('oklch')->toCss();
$hex = $lightseagreen->toHex(); $rgb = $lightseagreen->toCss('srgb'); $oklch = $lightseagreen->to('oklch')->toCss();
hex
#20b2aa
rgb
rgb(32 178 170)
oklch
oklch(0.691201 0.114213 188.962)

Keep exploring

Continue from LightSeaGreen