# AgoraColorEnhanceOptions (/zh-CN/api-reference/rtc/ios/class-colorenhanceoptions)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="class_colorenhanceoptions__prototype"></a>

```objc
__attribute__((visibility("default"))) @interface AgoraColorEnhanceOptions : NSObject
@property(nonatomic, assign) float strengthLevel;
@property(nonatomic, assign) float skinProtectLevel;
@end
```

<a id="class_colorenhanceoptions__parameters"></a>

## 属性 [#属性]

<ParameterList>
<a id="strengthlevel"></a>
<Parameter name="strengthLevel">

色彩增强等级。取值范围为 [0.0, 1.0]。

- `0.0`：不对视频进行色彩增强。
- `1.0`：色彩增强效果最强。

默认值为 0.5。

</Parameter>
<a id="skinprotectlevel"></a>
<Parameter name="skinProtectLevel">

:::note
注： 当色彩增强等级较高时，人像肤色可能会出现明显失真，因此需要设置肤色保护等级。肤色保护等级越高，色彩增强效果可能会略有降低。为获得最佳色彩增强效果，声网建议你同时调整 `strengthLevel` 和 `skinProtectLevel`，以获得最合适的取值。
:::

肤色保护等级。取值范围为 [0.0, 1.0]。

- `0.0`：不进行肤色保护。
- `1.0`：肤色保护效果最强。

默认值为 1.0。

</Parameter>
</ParameterList>
