Teal

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

Hex
#14b8a6
sRGB
rgb(20 184 166)
OKLCH
oklch(0.7038 0.1230 182.5)

This curated Teal is #14b8a6. The CSS named color teal is the distinct color #008080.

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

$teal = Color::parse('#14B8A6');
use PhpColor\Color\Color; $teal = Color::parse('#14B8A6');

ColorInterface

$teal

#14b8a6 · oklch(0.7038 0.1230 182.5)

Build a Teal harmony

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

<?php

$harmony = $teal->tetradic();

foreach ($harmony as $color) {
    echo $color->toHex().PHP_EOL;
}
$harmony = $teal->tetradic(); foreach ($harmony as $color) { echo $color->toHex().PHP_EOL; }
  1. 0#14b8a6
  2. 1#869aec
  3. 2#de7d99
  4. 3#ba9d37
Teal and its three generated partners

Generate a Teal scale

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

<?php

$oklch = $teal->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 = $teal->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 the complete Teal scale →

Format Teal for the web

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

<?php

$hex   = $teal->toHex();
$rgb   = $teal->toCss('srgb');
$oklch = $teal->to('oklch')->toCss();
$hex = $teal->toHex(); $rgb = $teal->toCss('srgb'); $oklch = $teal->to('oklch')->toCss();
hex
#14b8a6
rgb
rgb(20 184 166)
oklch
oklch(0.703753 0.123018 182.503)

Keep exploring

Continue from Teal