ozdemirburak/iris
Iris is a PHP 8.1+ color library for parsing, manipulating, and converting colors across Hex/Hexa, RGB/RGBA, HSL/HSLA, HSV, CMYK, and OKLCH. Provides format classes with channel accessors and easy toX() conversions.
gradient() method to generate color scales between two or more colors (#51)
$colorA->gradient($colorB, $steps)$colorA->gradient([$colorB, $colorC], $steps)toOklch() method on all color classesOklch::fromRgb() static factory method for RGB to OKLCH conversionclone() method for color objectsalphaRaw() protected method for internal alpha precision handlingHow can I help you explore Laravel packages today?