Particle not changing color

I want a random particle color, but the color is not changing

			local particle = Instance.new("ParticleEmitter")
			particle.Parent = script.Parent.Handle
			particle.EmissionDirection = ("Back")
				local r = math.random(0,255)
				local g = math.random(0,255)
				local b = math.random(0,255)
				particle.Color = Color3.fromRGB(r,g,b)

You need to use a ColorSequence, not a Color3. You can just replace the bottom line with:

particle.Color = ColorSequence.new(Color3.fromRGB(r, g, b))