Converts your hex (html-format) or RGB values into Corona-compatible format (numbers from 0 to 1). No difficulties, only two functions: hex('value')
and rgb(rNum, gNum, bNum)
.
rgb
A simple helper I wrote so I could reference the same colours throughout my app more easily.
I have a color pallette for my app with named colours which I can refer to whenever I need to set the colour for something.
This function returns a matrix of RGB values that allow you to gradually change from one color to another using a single index, like the position of a scrollview/springboard.
It takes a two dimensional array of RGB colors, each page width and the total amount of pages.
A list of RGB colours with supporting functions and Gfx2.0 colour code conversion.