how I put this colors[0] = "0 146 223 227"; or I am wrong.
Since your original color code you wanted to use was RGB, not RGBA, you have to append the alpha-transparency value. If you want the color to be solid, just use 255.
However, when you have a color such as 146 223 227 255, you still need to convert it to the type I specified in my first post in this thread. As mentioned, you do it by dividing each component by 255.
In: 146 223 227 255
146 / 255 ~= 0.572
223 / 255 ~= 0.874
227 / 255 ~= 0.89
255 / 255 = 1
Out: 0.572 0.874 0.89 1