Color Name API
An API that provides names for colors based on their hex value
Developer tools#openapi#developer-tools
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
An API that provides names for colors based on their hex value
Endpoints 4
- GETGet all colors of the default color name list
/?list=default&values=string&noduplicates=true - GETGet all colors of the default color name list
/lists/ - GETGet all colors of the default color name list
/names/?name=string&list=default - GETGenerate a color swatch for any color
/swatch/?color=string&name=string
API details
- Base URL
https://api.color.pizza/v1- Authentication
- None declared in the description
- Operations
- 4 operations on 4 pathsGET 4
- Response formats
application/jsonimage/svg+xml- Description format
- OpenAPI 3.0.3, API version
1.0.0 - Links
- OpenAPI document · Support
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Color Name API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Color Name API collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Get all colors of the default color name list” (GET /?list=default&values=string&noduplicates=true), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Color Name API?
An API that provides names for colors based on their hex value It is listed under Developer tools and has 4 endpoints.
Who publishes the Color Name API?
It is listed from Color's public API description (an OpenAPI document), not published by Color on Swastik Codes. Anyone who controls color.pizza can claim the profile by adding a DNS TXT record.
What is the base URL of the Color Name API?
Requests go to https://api.color.pizza/v1. Endpoint paths are added to this base URL.
How do I authenticate with the Color Name API?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the Color Name API have?
4 operations on 4 paths (4 GET).
Is forking the Color Name API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.