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

Authorizations

X-API-Key
string
header
required

Query Parameters

color1
string
required

First hex color

color2
string
required

Second hex color

weight
number
default:0.5

Blend weight (0-1, 0.5 = equal mix)

Required range: 0 <= x <= 1

Response

Successful Response