Fixed annoyance with rgba function.

After placing it before rgb function it works properly.