Get contrast ratio between two color.
Smaller result means larger contrast.
Reference: https://dev.to/alvaromontoro/building-your-own-color-contrast-checker-4j7o
Parameters:
Name | Type | Description |
---|---|---|
color1 |
||
color2 |