Skip to content

sRGB Hue Set

color set

type: color-srgb-hue-set

A decision to define the hue set for sRGB colors.

Models

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

Explicit value

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

Model:

color-srgb-hue-set/explicit

Params:

  • values

    336192

Bounded

Defines a sRGB hue set interpolating linearly between two hue values.
🚧 Schema
Sample data
{
  "model": "color-srgb-hue-set/bounded",
  "name": "sRGB Hue Set Bounded Sample",
  "params": {
    "from": 360,
    "to": 231,
    "steps": 5
  }
}
sRGB Hue Set Bounded Sample
360
360
334.2
308.4
282.6
256.8
231
231

Model:

color-srgb-hue-set/bounded

Params:

  • from

    360

  • to

    231

  • steps

    5

Anchored

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

Model:

color-srgb-hue-set/anchored

Params:

  • anchor

    30

  • after

    [object Object]

  • before

    [object Object]