Set Color Source Color

Set a random or a HEX color for a color source
Set Color Source Color Dialog
Set Color Source Color Dialog

Parameters

Connection
Select
Default:
Default

Select the configured OBS Studio Connection to connect to

ValueDescription
Default

Only the default configured OBS Studio connection

Any

All configured OBS Studio connections

Scene
Combobox

Select a scene from the list populated from OBS Studio

You can also manually type a name into the box, or utilize %variable% syntax to insert an argument value.
Source
Combobox

Select a source from the list populated from OBS Studio

You can also manually type a name into the box, or utilize %variable% syntax to insert an argument value.
Random Color
Checkbox

This gets a random HEX color each time this sub-action runs

Color
Color required

Choose a color, using the #RRGGBBAA format

Variables

NameTypeDescription
 
Variables generated by all triggers and available within all action executions.

C# Usage

public void ObsSetColorSourceColor(string scene, string source, int a, int r, int g, int b, int connection = 0)
Read more in API > C# > Methods > Obs Studio > Sources > Obs Set Color Source Color
public void ObsSetColorSourceRandomColor(string scene, string source, int connection = 0)
Read more in API > C# > Methods > Obs Studio > Sources > Obs Set Color Source Random Color