setRGB

public void setRGB(int r, int g, int b)

Sets the color for each of the LEDs based on RGB values.

Parameters

r

(Red) Integer values between 0 - 255

g

(Green) Integer values between 0 - 255

b

(Blue) Integer values between 0 - 255