Colority it's a PHP library that allows you to: transform and validate colors, obtain the best contrast color (using contrast ratio from WCAG 2.0 standard), extract colors from images and more.
-
Updated
Jun 8, 2024 - PHP
Colority it's a PHP library that allows you to: transform and validate colors, obtain the best contrast color (using contrast ratio from WCAG 2.0 standard), extract colors from images and more.
Get WCAG colour accessibility compliance between two colours (good for testing font and background colours)
A PHP function to ensure adequate contrast between two colours.
Add a description, image, and links to the wcag-contrast topic page so that developers can more easily learn about it.
To associate your repository with the wcag-contrast topic, visit your repo's landing page and select "manage topics."