# GRADIENT Command [GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [Commands](Help%20System/GSTARCAD/2022/Commands/(Commands).md) → [G](Help%20System/GSTARCAD/2022/Commands/G/(G).md) ## Function Description: This command is used to fill an enclosed area or selected objects with a gradient fill. A gradient fill creates a smooth transition between one or two colors. The Hatch and Gradient dialog box is displayed as shown below. ## Command Access: > **Icon:** > ![](GCADICO_GRADIENT.png) > **Menu:** Draw \> Gradient > **Ribbon:** Home \> Draw \> Gradient > **Toolbar:** Draw \> Gradient > **Command:** GRADIENT > **Alias:** / **Command Prompts: /** ![](GRADIENT-1.jpg)