setBackgroundColor [2/2]

Sets the background color in RGB format.

public void setBackgroundColor(int red, int green, int blue) {
    this.backgroundColor = (red << 16) | (green << 8) | (blue << 0);
  }

Parameters

red
Red component.
green
Green component.
blue
Blue component.