primal/color
primal/color is a PHP package for working with colors in Laravel and other PHP apps, offering helpers to convert between formats like hex, RGB, and HSL, adjust shades and brightness, and generate or manipulate palettes with a simple, expressive API.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| danmichaelo/coma | 0.85 | CoMa is a PHP color math library for converting between sRGB, XYZ and Lab color spaces and computing color difference (Delta E) metrics. Includes CIE76 and CIE94, with more planned. Suitable for matching and comparing colors. | 17 | 19 | 3 | 1K | 0 | 0.2 | 25.6 | MIT | — | |
| baks-dev/reference-color | 0.84 | Библиотека справочника цветов для проектов BaksDev: подключение через Composer, сервис ReferenceChoiceColor для вывода цветов в выпадающих списках (tag baks.reference.choice). Требует PHP 8.4+. Лицензия MIT. | 0 | 0 | 0 | 1 | 0 | 18.7 | 4.7 | MIT | 2 months ago | |
| mexitek/phpcolors | 0.84 | phpColors is a lightweight PHP library for color manipulation: convert between HEX, RGB, and HSL, lighten or darken shades, generate complementary colors, and check contrast. Useful for building palettes, themes, and dynamic CSS without external dependencies. | 499 | 502 | 54 | 133K | 1 | 4.5 | 33.5 | MIT | 4 years ago | |
| mistralys/application-utils-core | 0.84 | Core utility library for PHP applications from Mistralys, bundling reusable helper classes and foundational components shared across its packages. A lightweight base for reducing boilerplate and standardizing common application tasks. | 1 | 1 | 0 | 3K | 0 | 11.7 | 48.8 | MIT | 5 months ago | |
| skrip42/color | 0.84 | A PHP color utility package for creating, converting, and manipulating colors. Work with HEX, RGB, and HSL values, adjust brightness, mix colors, and build palettes through a clean, framework-friendly API. | 1 | 1 | 0 | 21 | 0 | 0.3 | 14.7 | MIT | 6 years ago | |
| kennwilson/colormap | 0.83 | kennwilson/colormap is a Laravel/PHP package for defining, generating, and working with color maps and palettes, providing a simple API to keep color schemes consistent across your application. | 0 | 0 | 0 | 6 | 0 | 0.0 | 11.7 | MIT | — | |
| php-parallel-lint/php-console-color | 0.83 | Adds easy, cross-platform console text styling for PHP: colors, background colors, and formatting like bold/underline. Lightweight, dependency-free, and commonly used in CLI tools to improve readability of output and error messages. | 87 | 89 | 8 | 1M | 0 | 2.1 | 56.4 | BSD-2-Clause | 4 years ago | |
| innmind/colour | 0.83 | A small PHP library for representing and manipulating colours as immutable value objects. Parse hex, RGB and HSL values, convert between colour models and compare colours with a clean API that fits the Innmind ecosystem. | 1 | 1 | 1 | 1K | 0 | 15.5 | 44.0 | MIT | 2 months ago | |
| mischiefcollective/colorjizz | 0.83 | ColorJizz-PHP is a lightweight color library for converting and manipulating colors across formats like RGB, CMYK, Hex, HSV, CIELab/LCh, XYZ, and Yxy. Supports chaining operations (hue, saturation, greyscale) while keeping originals immutable. | 286 | 287 | 32 | 18K | 5 | 3.9 | 26.7 | — | — | |
| oh/color-picker-type-bundle | 0.83 | A Symfony bundle that adds a ready-made color picker form type, letting you drop a color selection field into forms with minimal setup. Configurable options make it easy to control the picker's behavior and appearance. | 4 | 4 | 4 | 5 | 1 | 0.3 | 4.2 | MIT | — | |
| cannonb4ll/laravel-philips-hue | 0.83 | Laravel wrapper for the Philips Hue API that lets you discover bridges, control lights, groups and scenes, and manage colors, brightness and schedules directly from your Laravel app. Simple configuration and an expressive interface make smart-home automation easy to add. | 87 | — | 11 | — | 3 | 0.9 | 0.3 | MIT | 6 years ago | |
| brianmcdo/image-palette | 0.83 | ImagePalette is a PHP package for extracting color palettes from images. It analyzes JPEG, PNG, and GIF files to return dominant colors with percentages, making it easy to build palettes for thumbnails, design tools, or Laravel applications. | 180 | 183 | 33 | 22K | 2 | 2.8 | 30.7 | NOASSERTION | 10 years ago | |
| nozbi/uikit | 0.83 | nozbi/uikit is a Laravel package offering reusable UI components and helpers to speed up building consistent interfaces. It integrates with Blade views, letting you compose common layout and form elements with less repetitive markup. | 0 | — | 0 | — | 0 | 20.2 | — | MIT | 5 days ago | |
| xmon/color-picker-type-bundle | 0.83 | xmon/color-picker-type-bundle adds a reusable color picker field type for Xmon applications, letting developers offer color selection in forms and admin interfaces without building custom UI. It simplifies defining, rendering, and handling color values in bundle-driven projects. | 1 | 1 | 7 | 72 | 0 | 0.1 | 15.3 | MIT | — | |
| kunicmarko/color-picker-bundle | 0.83 | A small Symfony bundle that adds a color picker form type to Symfony forms, making it easy to render color input fields with minimal setup. Lightweight and simple to integrate, but with very low adoption and few stars, so check maintenance and compatibility before relying on it. | 4 | 5 | 4 | 171 | 0 | 0.1 | 15.1 | MIT | 8 years ago | |
| codeplace-io/color-picker-bundle | 0.83 | codeplace-io/color-picker-bundle adds a reusable color picker form field to Symfony applications. It offers configurable picker options, simple asset and Twig integration, and a straightforward way to add color selection to admin panels, settings pages, and other forms. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| laravel-validation-rules/colour | 0.83 | Laravel validation rules for colour values. Validate CSS colour formats such as hex, RGB, RGBA, HSL and HSLA, plus named colours, using simple rule objects you can drop straight into form requests and validators. | 33 | 33 | 14 | 2K | 0 | 1.2 | 24.7 | Apache-2.0 | 3 years ago | |
| villfa/invert-color | 0.82 | A small PHP package for inverting hex colors. Generate the opposite of any color for contrasting text, hover states, or dark-mode variants, with a simple API that works in plain PHP and Laravel projects alike. | 15 | 15 | 4 | 15K | 0 | 0.2 | 41.1 | MIT | — | |
| aboodma/color_hex_convert | 0.82 | A small Laravel/PHP helper for converting color hex codes, letting you turn HEX values into RGB or other formats and back again when working with colors in your application. Lightweight and easy to drop into existing projects. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 2 years ago | |
| tecnickcom/tc-lib-color | 0.82 | PHP color toolkit for parsing, converting, and normalizing GRAY, RGB/RGBA, HSL, CMYK, CIE Lab, and spot colors, with named web color lookup. Provides CSS-ready output and PDF-oriented helpers, keeping browser previews and final rendered PDFs visually consistent. Part of the TCPDF ecosystem. | 25 | 25 | 7 | 630K | 0 | 19.9 | 64.7 | NOASSERTION | 2 weeks ago |
How can I help you explore Laravel packages today?