Documentation Index
Fetch the complete documentation index at: https://mintlify.com/aseprite/aseprite/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Gradient tool creates smooth transitions between colors. It’s essential for backgrounds, lighting effects, and color blending in pixel art and digital artwork.Keyboard Shortcut: Press
Shift+G to select the Gradient toolBasic Usage
Gradient Types
- Linear
- Radial
- Conical
Straight line gradient
- Transitions in one direction
- Start and end points define gradient line
- Colors perpendicular to line remain constant
- Sky backgrounds
- Directional lighting
- Simple color fades
Gradient Controls
Draw Direction
How you draw affects the gradient:Start to End
Normal drag
- Start point = first color
- End point = second color
- Transition fills between points
From Center
Hold Alt while dragging
- Center point = first color
- Drags outward symmetrically
- Creates centered gradients
Angle Snapping
Snap to Angles
Snap to Angles
Hold The gradient tool uses the FirstPoint intertwiner which supports angle snapping.
Shift while dragging to snap to angles:Dithering Options
Dithering creates the illusion of more colors through patterns:No Dithering
No Dithering
Smooth gradient
- Uses all available colors
- Smoothest possible transition
- Can show banding in limited palettes
Bayer 8x8
Bayer 8x8
Ordered dithering pattern
- Uses 8x8 Bayer matrix
- Creates regular pattern
- Predictable dithering
Bayer 4x4
Bayer 4x4
Smaller ordered pattern
- Uses 4x4 Bayer matrix
- Coarser than 8x8
- More visible pattern
Bayer 2x2
Bayer 2x2
Smallest ordered pattern
- Uses 2x2 Bayer matrix
- Most visible pattern
- Checkered appearance
Error Diffusion
Error Diffusion
Floyd-Steinberg dithering
- Diffuses quantization error to adjacent pixels
- More organic appearance
- Less regular pattern
Dithering is especially important when working with Indexed color mode with limited palettes. It helps create smoother-looking gradients using fewer colors.
Advanced Features
Gradient Ink
The gradient tool uses a special Gradient Ink:- Paint ink: Modifies pixels directly
- Effect ink: Processes entire stroke at once
- Supports dithering: Multiple dithering algorithms available
Working with Selections
Gradients respect active selections:Multi-Point Gradients
Create gradients with multiple color stops:Using Multiple Colors
Using Multiple Colors
While the gradient tool directly supports two colors, you can create multi-color effects:Method 1: Layer Multiple Gradients
- Create first gradient (Color A → Color B)
- New layer with transparency
- Create second gradient (Color B → Color C)
- Blend layers
- Create custom gradient through Lua scripting
- Define multiple color stops
- Apply to selection
Gradient Techniques
Creating Depth
Use gradients to add depth and dimension:Pixel Art Gradients
For pixel art with limited colors:Manual Gradient
Manual Gradient
Create gradients by hand for pixel-perfect control:
- Choose 3-5 colors from palette
- Arrange in gradient order
- Fill tool to place colors
- Manually adjust transitions
Dithered Gradient
Dithered Gradient
Use gradient tool with dithering:
- Enable Bayer 8x8 or Error Diffusion
- Draw gradient
- Optionally clean up dithering pattern
Lighting Effects
Create realistic lighting:Indexed Color Mode
Gradients work differently in indexed color mode:Palette Optimization
Create better gradients in indexed mode:Technical Details
Stroke Processing
The gradient tool processes the entire stroke at once:- Gradient calculated from full stroke
- All pixels computed before rendering
- Ensures smooth, consistent gradient
- Different from incremental tools (pencil, brush)
Intertwiner: FirstPoint
Gradient uses the FirstPoint intertwiner:- The gradient effect is applied as a whole
- Supports angle snapping (Shift key)
- Calculates from stroke endpoints
Common Workflows
Sky Background
Radial Highlight
Performance Considerations
Large Gradient Performance
Large Gradient Performance
Factors affecting speed:
- Canvas size: Larger = slower
- Dithering: Error diffusion is slower than Bayer
- Color mode: Indexed is faster than RGB
- Selection complexity: Complex shapes take longer
For very large canvases, expect a brief delay while the gradient calculates. This is normal for effect-based inks.
Keyboard Shortcuts
Quick Reference

