Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alex-page/rainbow
🌈 Find the accessible spectrum of light with a URL
https://github.com/alex-page/rainbow
a11y accessibility api color contrast contrast-ratio
Last synced: about 2 months ago
JSON representation
🌈 Find the accessible spectrum of light with a URL
- Host: GitHub
- URL: https://github.com/alex-page/rainbow
- Owner: alex-page
- License: mit
- Created: 2017-12-08T23:18:35.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2023-07-20T02:40:06.000Z (over 1 year ago)
- Last Synced: 2024-10-30T11:47:35.739Z (3 months ago)
- Topics: a11y, accessibility, api, color, contrast, contrast-ratio
- Language: JavaScript
- Homepage: https://a11ycolor.now.sh/red/red
- Size: 626 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://a11ycolor.now.sh/red/red)
```json
{
"a11ycolor": "#000000"
}
```[https://a11ycolor.now.sh/000/000](https://a11ycolor.now.sh/000/000)
```json
{
"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](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