PHP Classes
elePHPant
Icontem

PHP WCAG Color Compliance: Get the contrast ratio between two colors for WCAG

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-04-15 (8 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 31 This week: 8All time: 9,537 This week: 49Up
Version License PHP version Categories
wcag-colour-complian 1.0Free For Educatio...5PHP 5, Graphics
Description Author

This package can get the contrast ratio between two colors.

It takes as parameters the values of two colors in RGB format.

The class can calculate the contrast ratio between two colors, as well the result of several tests of accessibility compliant with the WCAG standard.

  Performance   Level  
Name: Andrew Collington <contact>
Classes: 16 packages by
Country: United Kingdom United Kingdom
Age: 44
All time rank: 544 in United Kingdom United Kingdom
Week rank: 36 Up2 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file wcag-example.js Data Auxiliary data
Accessible without login Plain text file wcag-example.php Example Auxiliary script
Accessible without login Plain text file wcag.js Data Auxiliary data
Plain text file wcag.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:31
This week:8
All time:9,537
This week:49Up