Skip to content

PHP class to convert any values between RGB, HSL, CMYK, YUV and HEX colors.

License

Notifications You must be signed in to change notification settings

mixable/color-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColorUtils

PHP class to convert any values between RGB, HSL, CMYK, YUV and HEX colors.

This package also provides some calculations on color to handle readability for colored or light and dark backgrounds.

More details are available at:
https://mixable.blog/adjust-text-color-to-be-readable-on-light-and-dark-backgrounds-of-user-interfaces/
https://mixable.blog/black-or-white-text-on-a-colour-background/

Installation

You can install this package by using composer.

composer require mixable/color-utils

About

PHP class to convert any values between RGB, HSL, CMYK, YUV and HEX colors.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages