lcd.RGB
Last updated
Was this helpful?
Was this helpful?
-- RGB numeric parameters
local darkred = lcd.RGB(20,0,0) -- create color_flag for color
lcd.drawText(0,0,"Very dark red text", darkred)-- RGB hex parameter
local mygrey = lcd.RGB(0xAEAEAE) -- create color_flag for color
lcd.drawText(0,20,"My grey color", mygrey)