 	cmd := "#"+toHexColor(red,green,blue) ; # is the set main color command
 	; MsgBox %cmd%
 	TrayTip, , Red: %red%
-	socket.Send(cmd)
+	sendCmd(cmd)
 
 	return
 	

	cmd := "#"+toHexColor(red,green,blue) ; # is the set main color command
	; MsgBox %cmd%
	TrayTip, , Blue: %blue%
	socket.Send(cmd)

	return
	
toHexColor(r, g, b)
{
	SetFormat, IntegerFast, hex ; To print values as hexadecimal

		brightness := maxColor
	cmd = `%%brightness% ; % is the set brightness mode command
	TrayTip, , Brightness: %brightness%
	sendCmd(cmd)
	; MsgBox %cmd%
	return

