What Color is also a REST API by itself: you can access every existing page by changing the suffix into another type, for example html
into json
.
Currently supported formats are:
Format | What it is for | Try it |
---|---|---|
html
|
Provides all information formatted as HTML for the browsers. | www.whatcolor.is/rgb/220+20+60.html |
ico
|
Creates a favicon in the requested color with a size of 48 × 48 px. | www.whatcolor.is/rgb/220+20+60.ico |
idml
|
The response is an Adobe® InDesign Markup Language file (IDML), that can be opened in Adobe® InDesign. The colour is then already been stored in the colour palette. | www.whatcolor.is/rgb/220+20+60.idml |
jpg
|
This generates a response in the format of a JPEG image that can be integrated into a website, for example. | www.whatcolor.is/rgb/220+20+60.jpg |
json
|
Returns the requested color information in a JSON-formatted way. This is especially useful if you want to access color information with another digital service. | www.whatcolor.is/rgb/220+20+60.json |
png
|
This generates a response in the format of a PNG image that can be integrated into a website, for example. | www.whatcolor.is/rgb/220+20+60.png |