> For the complete documentation index, see [llms.txt](https://docs.mixeffect.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mixeffect.app/automate/osc/messages/color-generators/set-color-generator.md).

# Set Color Generator

| Message                      | Description                         | Arguments |
| ---------------------------- | ----------------------------------- | --------- |
| `/mixeffect/color-generator` | Set the color of a color generator. | Multiple  |

| Argument              | Type    | Description                                                                                                                                                                                                                                           |
| --------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Hue                   | Float   | Value from 0-360.0.                                                                                                                                                                                                                                   |
| Saturation            | Float   | Value from 0-100.0                                                                                                                                                                                                                                    |
| Luminance             | Float   | Value from 0-100.0                                                                                                                                                                                                                                    |
| Color Generator Index | Integer | <p>(Optional)</p><p>One-based index of the color generator. Default is 1.</p>                                                                                                                                                                         |
| Duration              | Integer | <p>(Optional)<br>0 = Off<br>1-10000 = Number of milliseconds to tween the parameters. Default is 0.</p>                                                                                                                                               |
| Style                 | Integer | <p>(Optional)<br>0 = Cosine<br>1 = Cubed<br>2 = Inverse Cubed<br>3 = Inverse Squared<br>4 = Linear<br>5 = Sine<br>6 = Smooth Step<br>7 = Smoother Step<br>8 = Squared<br>9 = Ease In Out Elastic<br>10 = Ease Out Bounce<br>11 = Ease Out Elastic</p> |
