Reference
Functions
Public functions
- contrast_ratio()
-
Compute the APCA contrast ratio between two colors.
- ideal_text_color()
-
Choose the best text color (light or dark) for a background.
Public functions
Compute the APCA contrast ratio between two colors.
Choose the best text color (light or dark) for a background.