> ## Documentation Index
> Fetch the complete documentation index at: https://rpa.bazhuayu.com/helpcenter/llms.txt
> Use this file to discover all available pages before exploring further.

# 修改颜色填充图层

Photoshop 版本：Photoshop 版本支持2025✅2024✅2023✅2022✅2021✅2020✅CC2019✅CC2018✅CC2017✅

# # 修改颜色填充图层

## 描述

该指令通过调用接口对 PS 文件的指定图层进行颜色填充

## 配置

### 输入

#### 常规

<strong>Photoshop 文件路径</strong>

<strong>图层名: </strong><em>字符串, </em>待操作图层的名称

<strong>颜色RGB值: </strong><em>字符串, </em>RGB颜色的HEX值, 如, #FFEEFF, FFEEFF

<img src="https://mintcdn.com/bazhuayu-rpa-docs/gYxFt2wpwEe3BGZG/helpcenter/commands/custom-commands/AJpKshiX/images/RCDYGLzy-01.png?fit=max&auto=format&n=gYxFt2wpwEe3BGZG&q=85&s=0dacf8fffe22cea10c6bb92e31d55159" alt="image" width="667" height="488" data-path="helpcenter/commands/custom-commands/AJpKshiX/images/RCDYGLzy-01.png" />

注意事项

部分图层 选择图层 编辑查看 填充功能灰色不可用，过程中会报错

<img src="https://mintcdn.com/bazhuayu-rpa-docs/gYxFt2wpwEe3BGZG/helpcenter/commands/custom-commands/AJpKshiX/images/RCDYGLzy-02.png?fit=max&auto=format&n=gYxFt2wpwEe3BGZG&q=85&s=581811898a6f9bdf54b46a548db3753f" alt="image" width="455" height="516" data-path="helpcenter/commands/custom-commands/AJpKshiX/images/RCDYGLzy-02.png" />

可以正常被操作的图层，会显示黑色

<img src="https://mintcdn.com/bazhuayu-rpa-docs/gYxFt2wpwEe3BGZG/helpcenter/commands/custom-commands/AJpKshiX/images/RCDYGLzy-03.png?fit=max&auto=format&n=gYxFt2wpwEe3BGZG&q=85&s=e8bb8a0d30c50fa24b533f00123fa3e3" alt="image" width="426" height="587" data-path="helpcenter/commands/custom-commands/AJpKshiX/images/RCDYGLzy-03.png" />

<Info>
  使用指令过程中遇到问题？前往 [八爪鱼RPA 开发者社区问答板块](https://rpa.bazhuayu.com/community/questions) 提问，获取官方与社区帮助。
</Info>
