๐ Find the accessible spectrum of light with a URL
The URL takes a foreground color that will be changed to make a 4.5 contrast on the background color:
https://a11ycolor.now.sh/red/red
{
"a11ycolor": "#000000"
}
https://a11ycolor.now.sh/000/000
{
"a11ycolor": "#757575"
}
To get started locally make sure you have node
and npm
installed:
npm install && npm run dev
Then you can open https://localhost:3000/red/000 to see the API running locally.
- v2.0.0 - New RESTful API published on Zeit Now
- v1.0.1 - Update dependencies
- v1.0.0 - First release