Skip to content
HALOWERK

Image Processing

color display primary matrix

Return the linear RGB-to-XYZ matrix and white normalization from supplied chromaticity primaries and white.

POST https://bild.halowerk.com/v1/color-display-primary-matrix

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
redarrayYes
greenarrayYes
bluearrayYes
whitearrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "red": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 1
      },
      "maxItems": 2,
      "minItems": 2
    },
    "green": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 1
      },
      "maxItems": 2,
      "minItems": 2
    },
    "blue": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 1
      },
      "maxItems": 2,
      "minItems": 2
    },
    "white": {
      "type": "array",
      "items": {
        "type": "number",
        "minimum": 0,
        "maximum": 1
      },
      "maxItems": 2,
      "minItems": 2
    }
  },
  "required": [
    "red",
    "green",
    "blue",
    "white"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "red": [
    0.64,
    0.33
  ],
  "green": [
    0.3,
    0.6
  ],
  "blue": [
    0.15,
    0.06
  ],
  "white": [
    0.3127,
    0.329
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub →