Hosting library extract colours
post/hosting/design-library/extract-colours
Colours from a logo or a picture (sent as base64) and the readable palette built from them, with every contrast correction listed. Nothing is stored.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:read- Mcp
rivier_design_library_extract_colours- Graphql
Query.hostingLibraryExtractColours- Sdk
hosting.library.extractColours- Cli
hosting library extract colours
Request bodyapplication/json, required
- imagestringrequiredThe image as base64 (PNG, JPEG, WebP or GIF, up to 3 MB) At most 4200000 characters.
- namestringAt most 60 characters.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring