I am just a new user of Corona SDK and Im following some exercises of the book. I tried to create a rectangle and color it, but if I put setFillColor (255,0,0) or put 255 in green or blue, it will work. The problem is that when I try to mix colors like setFillColor (100,129,93), it just draws a white rectangle.
This is my main.lua:
rect_upperBackground = display.newRect(150, 150, 100, 50)
rect_upperBackground:setFillColor(49, 49, 49)
source
share