Download the PHP package artack/color without Composer
On this page you can find all versions of the php package artack/color. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor artack
Package color
Short Description Color helper library for converting between RGB, CMYK, HSV, HST and HEX and create interpolation.
License MIT
Package color
Short Description Color helper library for converting between RGB, CMYK, HSV, HST and HEX and create interpolation.
License MIT
Please rate this library. Is it a good library?
Informations about the package color
artack/color
color conversions and transitions (e.g. interpolation).
Developed by ARTACK WebLab GmbH in Zurich, Switzerland.
Features
- Provides class representation for RGB, CMYK, HSV, HSL and HEX.
- Provides conversion between all class representation
- Provides transitions between colors (e.g. interpolation)
- Provides clear exceptions to be able to handle library exceptions
- Compatible with PHP >= 7 and >= 8.
Installation
You can install this color library through Composer:
Usage
Creating a RGB class representation:
Translate RGR class representation to HSV:
Get an interpolation color between two colors with the value (and max) given:
All versions of color with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4|^8.0
webmozart/assert Version ^1.2
clue/graph Version ^0.9.0
graphp/algorithms Version ^0.8.1
webmozart/assert Version ^1.2
clue/graph Version ^0.9.0
graphp/algorithms Version ^0.8.1
The package artack/color contains the following files
Loading the files please wait ....