Download the PHP package gubler/color without Composer
On this page you can find all versions of the php package gubler/color. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor gubler
Package color
Short Description Color conversion library
License MIT
Homepage https://github.com/gubler/color
Package color
Short Description Color conversion library
License MIT
Homepage https://github.com/gubler/color
Please rate this library. Is it a good library?
Informations about the package color
Gubler/Color
Color is a CSS color object library. It allows you to create a Color
object and get multiple CSS color styles from it.
Installation
Install the library with composer:
Usage
Create a new Color
object with a valid CSS color value:
Once you have created a color, you can export it in another format:
You can also update the color:
Contrast Color Text
You can call contrastTextColor
to get a new Color
object, either black or white, whichever has better contrast with
the parent Color
.
Thanks
This library was heavily inspired by spatie/color.
All versions of color with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
The package gubler/color contains the following files
Loading the files please wait ....