Skip to content

alex-page/rainbow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

53 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Rainbow

๐ŸŒˆ Find the accessible spectrum of light with a URL

Usage

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"
}

Getting started

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.

Release History

  • v2.0.0 - New RESTful API published on Zeit Now
  • v1.0.1 - Update dependencies
  • v1.0.0 - First release

Releases

No releases published

Packages

No packages published