Download the PHP package scripturadesign/color without Composer
On this page you can find all versions of the php package scripturadesign/color. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download scripturadesign/color
More information about scripturadesign/color
Files in scripturadesign/color
Package color
Short Description Working with colors
License MIT
Homepage https://github.com/scripturadesign/color
Informations about the package color
Color
Color is a package to convert between color types.
Install
Via Composer
Usage
HEX
Hexadecimal
Default template
#{code}
Sanitizing
HEX does some sanitizing to support all the various ways a hex color can be written.
Example:
RGB
Red, Green, Blue
Default template
{red},{green},{blue}
HSL
Hue, Saturation, Lightness
Default template
{hue}° {saturation}% {lightness}%
256
Terminal 256-color
000 - 007
: standard colors008 - 015
: high intensity colors016 - 231
: 216 colors232 - 255
: grayscale (black to white) https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
Default template
{code}
Change log
Please see [CHANGELOG][link-changelog] for more information what has changed recently.
Testing
The test suite can be run with the following composer script.
Contributing and Forking
Please note that this project is licensed under the MIT license. We encourage forking of this project, but ask that you keep all copyright, attribution notices, and continue to use the MIT license in your fork of the project.
For further details on Contributing guidelines, please read the contributing guide.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Martin Dilling-Hansen
- All Contributors
License
The MIT License (MIT). Please see License File for more information.