Skip to Content
utilscalculateContrast

calculateContrast

See source on Github 

Helper function to calculate contrast ratio between two colors