spatie/color
PHP library for color parsing, conversion, and comparison. Supports CSS named colors plus RGB/RGBA/ARGB, Hex, HSL/HSLA, HSB, CMYK, CIELab, and XYZ. Includes WCAG contrast ratio and Delta E distances (CIE76, CIE94, CIEDE2000).
Full Changelog: https://github.com/spatie/color/compare/v2.0.0...2.1.0
Hsla::contrast() method (was broken)Color interface - custom implementations must add:
fromString(): staticred(): int|stringgreen(): int|stringblue(): int|stringFull Changelog: https://github.com/spatie/color/compare/1.5.3...v2.0.0
Full Changelog: https://github.com/spatie/color/compare/1.7.0...1.8.0
Full Changelog: https://github.com/spatie/color/compare/1.6.3...1.7.0
Full Changelog: https://github.com/spatie/color/compare/1.6.2...1.6.3
Full Changelog: https://github.com/spatie/color/compare/1.6.1...1.6.2
Full Changelog: https://github.com/spatie/color/compare/1.6.0...1.6.1
Full Changelog: https://github.com/spatie/color/compare/1.5.3...1.6.0
Full Changelog: https://github.com/spatie/color/compare/1.5.2...1.5.3
Full Changelog: https://github.com/spatie/color/compare/1.5.1...1.5.2
Full Changelog: https://github.com/spatie/color/compare/1.5.0...1.5.1
Full Changelog: https://github.com/spatie/color/compare/1.3.2...1.3.3
Full Changelog: https://github.com/spatie/color/compare/1.3.1...1.3.2
Full Changelog: https://github.com/spatie/color/compare/1.3.0...1.3.1
Distance APIContrast APIColor interfaceFactory class that can create a color from a string in any formatrgbChannelToHexChannel now also accepts single single-digit hex valuesFirst release
How can I help you explore Laravel packages today?