##### Views

- Page
- Discussion
- View source
- History

# ParticleSystem:setColor

Removed in LÖVE 0.8.0
It has been replaced with ParticleSystem:setColors.

Sets the color of the image.

## Function

### Synopsis

ParticleSystem:setColor( r1, g1, b1, a1, r2, g2, b2, a2 )

### Arguments

`number r1`
  Start color, red component (0-255).
`number g1`
  Start color, green component (0-255).
`number b1`
  Start color, blue component (0-255).
`number a1`
  Start color, alpha component (0-255).
`number r2 (r1)`
  End color, red component (0-255).
`number g2 (g1)`
  End color, green component (0-255).
`number b2 (b1)`
  End color, blue component (0-255).
`number a2 (a1)`
  End color, alpha component (0-255).

### Returns

Nothing.

## See Also

- ParticleSystem

## Other Languages

Dansk – Deutsch – English – Español – Français – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Polski – Português – Română – Slovenský – Suomi – Svenska – Türkçe – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – ไทย – 日本語 – 正體中文 – 简体中文 – Tiếng Việt – 한국어
More info

Retrieved from "https://www.love2d.org/wiki/ParticleSystem:setColor"
Categories: Templates | Functions

##### Personal tools

- Log in

##### Search

##### Toolbox

- What links here
- Related changes
- Special pages
- Printable version
- Permanent link
- Browse properties