Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Colourmemory Com Physics API
version: 2.3.4
description: 'Operations tagged Physics across 2 of this provider''s published API definitions: colourmemory-com-openapi.json, colourmemory-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.colourmemory.com
description: Host serving this spec; also named as mcp_endpoint host in https://api.colourmemory.com/mcp discovery document (vendor PR Eye Ltd).
tags:
- name: Physics
paths:
/physics/{hex_val}:
get:
summary: Get Physics
description: 'Display-colour metrics for any hex value (the colour_metrics tool).
Returns:
- LRV estimate from luminance (CIE Y x 100) and band -- not a measured LRV
- Relative luminance and CIELAB L*, a*, b*, chroma, hue angle (D65)
- Bradford corresponding colours under CIE A (2856K) and F11 (4000K)
- not_derivable: what a hex cannot support (thermal / solar performance,
finish effects, measured LRV), with reasons
- Pigment: always unknown -- not identifiable from a hex
Derived from the display colour, not measured; methodology in the response.
Example:
GET /physics/1B1556
GET /physics/CC1A14?zone=Red'
operationId: get_physics_physics__hex_val__get
parameters:
- name: hex_val
in: path
required: true
schema:
type: string
title: Hex Val
- name: zone
in: query
required: false
schema:
type: string
default: ''
title: Zone
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Physics
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
x-refined-from:
- colourmemory-com-openapi.json
- colourmemory-com-openapi.yml