MediumTurquoise

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

Hex
#48d1cc
sRGB
rgb(72 209 204)
OKLCH
oklch(0.7868 0.1162 191.6)

MediumTurquoise is a standard CSS named color with the canonical value #48d1cc.

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

$mediumturquoise = Color::parse('#48D1CC');
use PhpColor\Color\Color; $mediumturquoise = Color::parse('#48D1CC');

ColorInterface

$mediumturquoise

#48d1cc · oklch(0.7868 0.1162 191.6)

Build a MediumTurquoise harmony

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

<?php

$harmony = $mediumturquoise->tetradic();

foreach ($harmony as $color) {
    echo $color->toHex().PHP_EOL;
}
$harmony = $mediumturquoise->tetradic(); foreach ($harmony as $color) { echo $color->toHex().PHP_EOL; }
  1. 0#48d1cc
  2. 1#adb0ff
  3. 2#fa9aa6
  4. 3#c9bc5e
MediumTurquoise and its three generated partners

Generate a MediumTurquoise scale

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

<?php

$oklch = $mediumturquoise->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 = $mediumturquoise->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 MediumTurquoise for the web

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

<?php

$hex   = $mediumturquoise->toHex();
$rgb   = $mediumturquoise->toCss('srgb');
$oklch = $mediumturquoise->to('oklch')->toCss();
$hex = $mediumturquoise->toHex(); $rgb = $mediumturquoise->toCss('srgb'); $oklch = $mediumturquoise->to('oklch')->toCss();
hex
#48d1cc
rgb
rgb(72 209 204)
oklch
oklch(0.786802 0.116222 191.558)

Keep exploring

Continue from MediumTurquoise