LimeGreen

A light green with the freshness of a spring green.

Hex
#32cd32
sRGB
rgb(50 205 50)
OKLCH
oklch(0.7419 0.2286 142.8)

LimeGreen is a standard CSS named color with the canonical value #32cd32.

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

$limegreen = Color::parse('#32CD32');
use PhpColor\Color\Color; $limegreen = Color::parse('#32CD32');

ColorInterface

$limegreen

#32cd32 · oklch(0.7419 0.2286 142.8)

Build a LimeGreen harmony

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

<?php

$harmony = $limegreen->tetradic();

foreach ($harmony as $color) {
    echo $color->toHex().PHP_EOL;
}
$harmony = $limegreen->tetradic(); foreach ($harmony as $color) { echo $color->toHex().PHP_EOL; }
  1. 0#32cd32
  2. 1#00bdff
  3. 2#ec6efd
  4. 3#ff7400
LimeGreen and its three generated partners

Generate a LimeGreen scale

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

<?php

$oklch = $limegreen->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 = $limegreen->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 LimeGreen for the web

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

<?php

$hex   = $limegreen->toHex();
$rgb   = $limegreen->toCss('srgb');
$oklch = $limegreen->to('oklch')->toCss();
$hex = $limegreen->toHex(); $rgb = $limegreen->toCss('srgb'); $oklch = $limegreen->to('oklch')->toCss();
hex
#32cd32
rgb
rgb(50 205 50)
oklch
oklch(0.741874 0.228646 142.835)

Keep exploring

Continue from LimeGreen