# setBackgroundColor [1/2] (/zh-CN/api-reference/rtc/android/api-livetranscoding-setbackgroundcolor)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```java
public void setBackgroundColor(int color)
```
颜色格式为 RGB 十六进制值。
## 参数 [#参数]
要设置的背景颜色,使用 RGB 十六进制值,仅填写数值,不包含 `#`。例如:`0xFFB6C1` 表示浅粉色。默认值为 `0x000000`(黑色)。(默认)
### 所属接口类 [#所属接口类]
- [LiveTranscoding](/zh-CN/api-reference/rtc/android/class-livetranscoding)