To create a color gradient in Adobe XD, you can follow these steps: 1. Select the object where you want the gradient. 2. Click on the 'Fill' property in the Properties panel. 3. Choose the 'Gradient' option. 4. Customize the gradient by adjusting the color stops and their positions. 5. Save your changes.