Download the PHP package baraja-core/color without Composer
On this page you can find all versions of the php package baraja-core/color. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download baraja-core/color
More information about baraja-core/color
Files in baraja-core/color
Download baraja-core/color
More information about baraja-core/color
Files in baraja-core/color
Vendor baraja-core
Package color
Short Description Normalize HTML colors.
License
Homepage https://github.com/baraja-core/color
Package color
Short Description Normalize HTML colors.
License
Homepage https://github.com/baraja-core/color
Please rate this library. Is it a good library?
Informations about the package color
PHP Color normalizer
Normalize HTML colors.
Idea
On websites, we often need to manipulate the colours we get in different ways. For example, from the user or from another application layer.
This package provides a simple way to normalize the received color to a canonical shape.
When normalizing, you can choose to convert to short or long notation:
Examples:
A second parameter can be used for formatting, which has possible values:
Color::FORMAT_SHORT
prefers short notation (if possible)Color::FORMAT_LONG
always returns a long notation
All versions of color with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
The package baraja-core/color contains the following files
Loading the files please wait ....