Skip to main content
GET
/
v1
/
color
/
name-to-hex
Name To Hex
curl --request GET \
  --url https://api.example.com/v1/color/name-to-hex \
  --header 'X-API-Key: <api-key>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Query Parameters

name
string
required

CSS color name

Response

Successful Response