Quick Sign In:  


Back to VDJ Script Examples

RGB Leds in VirtualDJ

VirtualDJ offers the ability to define the color of an RGB led in a much more user-friendly way.
The color is defined using the color 'text' action and expects a text of :

  • a pre-defined color (such as .. red, green, blue, white, yello, orange etc. See table below)
  • a HTML color hexadecimal code e.g. #FF0000, #909090 etc
  • a RGB or ARGB color code e.g. 255,0,0 or 127,255,0 etc.

List of pre-defined colors :

Examples :

color 'red'

result : Led turns on red constantly

blink ? color '#FF0000' : off 

result : Led will blink between red and off

play ? color 'green' : off

result : Led will turn on green if track is playing and turn off if paused.

effect_active ? blink ? color 'blue' : color 'yellow' : color 'yellow'

result: If Effect is active, Led will blink between blue and yellow, and if Effect not active will turn on yellow constantly

Note :
Keep in mind that some units do not offer "real" RGB Leds (e.g. they offer 64 or even less colors). VirtualDJ will tend to use the closest color from the available ones in order match the assigned color, the best way possible. (E.g if you try to assign a Cyan color to a LED that only offers Blue , the Blue will be used if the Led is assigned as Cyan)

Back to VDJ Script Examples