Skip to content

Oklab Hue Set

color set

type: color-oklab-hue-set

A decision to define the hue set for Oklab colors.

Models

The following models can be used to produce a Oklab Hue Set decision.

Explicit value

Defines a Oklab hue set with arbitrary degrees.
🚧 Schema
Sample data
{
  "model": "color-oklab-hue-set/explicit",
  "name": "Oklab Hue Set Explicit Sample",
  "params": {
    "values": [
      336,
      192
    ]
  }
}
Oklab Hue Set Explicit Sample
No Viz for color-oklab-hue-set

Model:

color-oklab-hue-set/explicit

Params:

  • values

    336192

Bounded

Defines a Oklab hue set interpolating linearly between two hue values.
🚧 Schema
Sample data
{
  "model": "color-oklab-hue-set/bounded",
  "name": "Oklab Hue Set Bounded Sample",
  "params": {
    "from": 360,
    "to": 231,
    "steps": 5
  }
}
Oklab Hue Set Bounded Sample
No Viz for color-oklab-hue-set

Model:

color-oklab-hue-set/bounded

Params:

  • from

    360

  • to

    231

  • steps

    5

Anchored

Defines a Oklab hue set from an anchor value applying modifiers to generate items before and/or after the anchor .
🚧 Schema
Sample data
{
  "model": "color-oklab-hue-set/anchored",
  "name": "Oklab Hue Set Anchored Sample",
  "params": {
    "anchor": 30,
    "after": {
      "steps": 2,
      "modifier": {
        "mode": "linear",
        "by": 15
      }
    },
    "before": {
      "steps": 4,
      "modifier": {
        "mode": "linear",
        "by": -15
      }
    }
  }
}
Oklab Hue Set Anchored Sample
No Viz for color-oklab-hue-set

Model:

color-oklab-hue-set/anchored

Params:

  • anchor

    30

  • after

    [object Object]

  • before

    [object Object]