Last active
October 3, 2019 08:20
-
-
Save caengen/7d6a4057f8f1191a039616fee1985d30 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ echo " | |
| contrast() { | |
| curl 'https://webaim.org/resources/contrastchecker/?fcolor=${1}&bcolor=${2}&api' | |
| } | |
| " >> ~/.zshrc | |
| $ source ~/.zshrc | |
| $ contrast fff 000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment