{{newin|[[0.9.0]]|090|type=function}}
Gets the series of colors applied to the particle sprite.

In versions prior to [[11.0]], color component values were within the range of 0 to 255 instead of 0 to 1.
== Function ==
=== Synopsis ===
<source lang="lua">
r1, g1, b1, a1, r2, g2, b2, a2, ..., r8, g8, b8, a8 = ParticleSystem:getColors( )
</source>
=== Arguments ===
Nothing.
=== Returns ===
{{param|number|r1|First color, red component (0-1).}}
{{param|number|g1|First color, green component (0-1).}}
{{param|number|b1|First color, blue component (0-1).}}
{{param|number|a1|First color, alpha component (0-1).}}
{{param|number|r2|Second color, red component (0-1).}}
{{param|number|g2|Second color, green component (0-1).}}
{{param|number|b2|Second color, blue component (0-1).}}
{{param|number|a2|Second color, alpha component (0-1).}}
{{param|number|r8|Eighth color, red component (0-1).}}
{{param|number|g8|Eighth color, green component (0-1).}}
{{param|number|b8|Eighth color, blue component (0-1).}}
{{param|number|a8|Eighth color, alpha component (0-1).}}
== See Also ==
* [[parent::ParticleSystem]]
* [[ParticleSystem:setColors]]
[[Category:Functions]]
{{#set:Description=Gets the colors to apply to the particle sprite.}}
== Other Languages ==
{{i18n|ParticleSystem:getColors}}