Snippets for LED Colors
The Loupedeck CT and Loupedeck Live Preferences panels now have the ability to use Lua Snippets to set what color you want an LED button to use.
return hs.drawing.color.asRGB({hex="#FF0000"})
local a = hs.math.randomFromRange(0, 9)
local b = hs.math.randomFromRange(0, 9)
local c = hs.math.randomFromRange(0, 9)
local d = hs.math.randomFromRange(0, 9)
local e = hs.math.randomFromRange(0, 9)
local f = hs.math.randomFromRange(0, 9)
return hs.drawing.color.asRGB({hex="#"..a..b..c..d..e..f})
Last modified 1yr ago