Skip to content
HALOWERK

Image Processing

color chromaticity triangle gamut

Return barycentric primary coordinates and gamut membership for supplied xy chromaticities and a primary triangle.

POST https://bild.halowerk.com/v1/color-chromaticity-triangle-gamut

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
primariesarrayYes
targetsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "primaries": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "maxItems": 2,
        "minItems": 2
      },
      "maxItems": 3,
      "minItems": 3
    },
    "targets": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "maxItems": 2,
        "minItems": 2
      },
      "maxItems": 100,
      "minItems": 1
    }
  },
  "required": [
    "primaries",
    "targets"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "primaries": [
    [
      0.64,
      0.33
    ],
    [
      0.3,
      0.6
    ],
    [
      0.15,
      0.06
    ]
  ],
  "targets": [
    [
      0.3127,
      0.329
    ],
    [
      0.9,
      0.05
    ]
  ]
}

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 →