0% · #ffdaab
L 0.94 · C 0.1 · H 55
Peach Fuzz
A linear gradient sweeping from pastel yellow to light amber, interpolated in OKLCH across 2 stops so the midpoint stays vivid instead of greying out.
- Type
- Linear
- Stops
- 2
- Space
- OKLCH
- Direction
- 90deg
The stops behind Peach Fuzz
Endpoints sit closest to navajowhite and sandybrown.
100% · #ffb681
L 0.88 · C 0.15 · H 45
Create Peach Fuzz in PHP
Build a linear gradient from the catalog stops, then let PHPColor assign their positions.
<?php
use PhpColor\Color\Gradient\Gradient;
$gradient = Gradient::linear(
90,
'oklch(0.94 0.10 55)',
'oklch(0.88 0.15 45)',
);
use PhpColor\Color\Gradient\Gradient;
$gradient = Gradient::linear(
90,
'oklch(0.94 0.10 55)',
'oklch(0.88 0.15 45)',
);
Inspect and convert its stops
Each stop remains a color object, ready for conversion, contrast checks, or further manipulation.
<?php
foreach ($gradient->getStops() as $stop) {
echo $stop->color->to('oklch')->toCss();
}
foreach ($gradient->getStops() as $stop) {
echo $stop->color->to('oklch')->toCss();
}
Format Peach Fuzz for CSS
Serialize the gradient directly, or choose a wide-gamut notation for every stop.
<?php
$css = $gradient->toCss();
$p3 = $gradient->toCss('display-p3');
$css = $gradient->toCss();
$p3 = $gradient->toCss('display-p3');
background: linear-gradient(90deg, oklch(0.94 0.10 55), oklch(0.88 0.15 45));
background: linear-gradient(90deg, oklch(0.94 0.10 55), oklch(0.88 0.15 45));