This file contains 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
/* | |
To use this script in a Google Sheets spreadsheet: | |
1. Open Google Sheets, go to Extensions > App Scripts. | |
2. Erase everything in the text editor; | |
3. Change the title to "Check WCAG 2 Contrast"; | |
4. Paste this code in; | |
5. Click File » Save. | |
Google Sheets Colour Preview script: |