Electric Lime

Acid lime and chartreuse against deep shadow.

Mood
Vivid
Colors
6
Space
OKLCH

Electric Lime, color by color

Acid lime and chartreuse against deep shadow.

#d0ff5c L 0.95 · C 0.2 · H 125
#beed00 L 0.88 · C 0.24 · H 122
#abd200 L 0.8 · C 0.26 · H 120
#69b800 L 0.7 · C 0.24 · H 130
#2b641d L 0.45 · C 0.12 · H 140
#132717 L 0.25 · C 0.04 · H 150

Create Electric Lime in PHP

Parse the catalog values as one ordered scale. The input remains readable while PHPColor normalizes every color.

<?php

use PhpColor\Color\Palette\ColorPalette;

$palette = ColorPalette::parse([
    'oklch(0.95 0.20 125)',
    'oklch(0.88 0.24 122)',
    'oklch(0.80 0.26 120)',
    'oklch(0.70 0.24 130)',
    'oklch(0.45 0.12 140)',
    'oklch(0.25 0.04 150)',
]);
use PhpColor\Color\Palette\ColorPalette; $palette = ColorPalette::parse([ 'oklch(0.95 0.20 125)', 'oklch(0.88 0.24 122)', 'oklch(0.80 0.26 120)', 'oklch(0.70 0.24 130)', 'oklch(0.45 0.12 140)', 'oklch(0.25 0.04 150)', ]);

Inspect every palette color

Palette operations preserve order, so iteration and conversion produce values in the same visual sequence.

<?php

foreach ($palette->to('oklch') as $color) {
    echo $color->toCss().PHP_EOL;
}
foreach ($palette->to('oklch') as $color) { echo $color->toCss().PHP_EOL; }

Format Electric Lime for CSS

Export hexadecimal values for compact tokens or convert the full palette to perceptual CSS notation.

<?php

$hex = $palette->toHex();
$css = $palette->to('oklch')->toCss();
$hex = $palette->toHex(); $css = $palette->to('oklch')->toCss();

Keep exploring

Build on Electric Lime