This module produces WCAG contrast ratio measurement and scoring.
COLOR:GetLuminance()
Get cached calculated the contrast ratio
Returns float contrast ratio
COLOR:CalcLuminance()
Get calculated the contrast ratio
Returns float contrast ratio
Get a score for the contrast between two colors
Parameters
Returns float contrast ratio
Get a level of the contrast between two colors
Returns number level contrast ratio
Get a textual score from a numeric contrast value
Parameters
Returns string score
Get a contrast color for first argument
Parameters
Returns color contrast