diff --git a/docs/interfaces/json-api.md b/docs/interfaces/json-api.md index d8cc3344c..e5b8a6ce8 100644 --- a/docs/interfaces/json-api.md +++ b/docs/interfaces/json-api.md @@ -182,7 +182,7 @@ len | 0 to info.leds.count | Length of the segment (_stop_ - _start_). _stop_ ha grp | 0 to 255 | Grouping (how many consecutive LEDs of the same segment will be grouped to the same color) spc | 0 to 255 | Spacing (how many LEDs are turned off and skipped between each group) of | -len+1 to len | Offset (how many LEDs to rotate the virtual start of the segments, available since 0.13.0) -col | array of colors | Array that has up to 3 color arrays as elements, the primary, secondary (background) and tertiary colors of the segment. Each color is an array of 3 or 4 bytes, which represents a RGB(W) color, i.e. `[[255,170,0],[0,0,0],[64,64,64]]`. It can also be represented as aan array of strings of _hex_ values, i.e. `["FFAA00","000000","404040"]` for orange, black and grey. +col | array of colors | Array that has up to 3 color arrays as elements, the primary, secondary (background) and tertiary colors of the segment. Each color is an array of 3 or 4 bytes, which represents a RGB(W) color, i.e. `[[255,170,0],[0,0,0],[64,64,64]]`. It can also be represented as an array of strings of _hex_ values, i.e. `["FFAA00","000000","404040"]` for orange, black and grey. One or more colors can be set randomly with `"r"`, i.e. `["r",[0,0,0],"r"]`. _(random will soon be available in 0.16.0)_ fx | 0 to info.fxcount -1 | ID of the effect or `~` to increment, `~-` to decrement, or `"r"` for random. sx | 0 to 255 | Relative effect speed. `~` to increment, `~-` to decrement. `~10` to increment by 10, `~-10` to decrement by 10. ix | 0 to 255 | Effect intensity. `~` to increment, `~-` to decrement. `~10` to increment by 10, `~-10` to decrement by 10.