RGBA function was mixed with RGB

There's a little annoyance with the RGBA function since it is highlighted as if it was RGB. After placing it before RGB function it works properly.