There are three practical ways to make a gradient background image:
- Website: if the gradient is only for a web page, one line of CSS is enough, and you don't need an image file.
- Exact colors on a Mac: use Keynote to set the colors and angle yourself, then export a PNG.
- Mesh gradients, grain, or colors taken from a picture: open our Screenshot Mockups editor, add an image, pick a gradient on the BG tab (including MAGIC GRADIENTS, which are built from your image's colors), choose an aspect ratio, hide the image, and click Save.
Linear, mesh and noise gradients
Decide which kind you want before you start, because it determines which method fits.
- Linear: colors blend along a straight line at an angle. This is the classic two-color background. Picbolt's 102 gradient presets are all linear at a fixed 135° (top left to bottom right).
- Radial: colors spread outward from a point, like a soft spotlight.
- Mesh: several soft color areas blend across the canvas, so the result looks like diffused light instead of a stripe. Picbolt has 9 mesh presets (Astra, Bliss, Burst, Dusk, Flash, Ghost, Helix, Horizon, Peak). Our mesh gradient guide covers them in more detail.
- Noise (grain): a fine texture laid over any gradient. It makes the image look less flat and helps hide banding.
Banding is the set of visible stripes you sometimes see in smooth gradients. A standard image stores 256 levels per color channel, so a subtle gradient has very few shades to work with. A gradient from #202020 to #404040 across a 1920 px wide image has only 32 shades, so each one is about 60 px wide. Noise breaks up the edges between those bands.
Method 1: CSS, if the gradient is for a website
If you only need the gradient behind a section of a web page, write it in CSS. It scales to any screen size and adds no image file to your page.
This is a two-color linear gradient at the same 135° angle as Picbolt's presets:
.hero {
background: linear-gradient(135deg, #6a5af9 0%, #f27dd0 100%);
}
This is a mesh-style background made from layered radial gradients over a base color:
.hero {
background:
radial-gradient(at 20% 20%, #ffb199 0, transparent 50%),
radial-gradient(at 80% 30%, #8ec5fc 0, transparent 50%),
radial-gradient(at 50% 90%, #e0c3fc 0, transparent 50%),
#fdfbfb;
}
Each radial-gradient(at X% Y%, ...) places one soft blob of color, and the last value fills the rest.
What CSS can't do: it doesn't give you a file to post on social media, use as a wallpaper or drop into slides. If you want a repeating pattern instead of a gradient, our SVG background patterns guide shows how to make one and use it in CSS.
Method 2: Make a gradient background in Keynote on a Mac
Keynote is free on Mac. If it isn't installed, get it from the App Store. It lets you set exact colors and the angle, which Picbolt's presets don't.
- Open Keynote and create a new presentation. Delete any placeholder text boxes on the first slide.
- Click Document in the toolbar. From the Slide Size menu, choose Custom Slide Size and enter the width and height in pixels, for example 1920 × 1080.
- Click an empty part of the slide, then click Format in the toolbar.
- In the Background section, choose Gradient Fill. For more than two colors, choose Advanced Gradient Fill.
- Click each color well to set the colors, then adjust the angle.
- Choose File > Export To > Images, pick PNG, and save.
What it can't do: Keynote has no mesh gradients, no noise and no automatic way to build a gradient from a photo's colors. You can still copy colors from a photo by hand (see "Picking colors that blend well" below). After you export, check the image size in Finder: select the file and press ⌘I (Command-I).
Method 3: Make a gradient background image in Picbolt
Use Picbolt when you want mesh gradients, grain, or a gradient based on the colors of a screenshot or photo. It runs in a browser on Mac, Windows, Linux and ChromeOS, with nothing to install. The editor is designed to put a screenshot on a background, so it needs an image on the canvas. To get a plain gradient, you add an image and then hide it.
Make a plain gradient image
- Open the Screenshot Mockups editor.
- Click Add Your Image, or press ⌘V (Command-V) to paste one. Any image works. If you want a gradient built from a picture's colors, add that picture.
- Click the aspect-ratio button in the top bar and choose a size, such as 16:9 Youtube Video. All sizes are listed in the export section below.
- Open the BG tab and click a gradient under GRADIENTS, MESH GRADIENTS or MAGIC GRADIENTS.
- Optional: drag Noise Amount under NOISE to add grain. The slider runs from 0 to 1, so start low.
- On the Edit tab, set FRAMES to None and drag Shadow spread to 0.
- On the Settings tab, under FILTERS, switch to FOREGROUND and drag Opacity to 0. Your image disappears and only the background remains. Check the canvas before you save.
- Still on Settings, choose a Format (PNG for smooth gradients) and type a FILE NAME.
- Click Save. On the free plan, the export includes a "Made with Picbolt" watermark. You can click it on the canvas to change its position or style, but only the Lifetime plan can hide it. The free plan also allows 3 downloads a day, at 1x quality, in PNG or JPEG. Is Picbolt free? explains exactly what counts toward that limit.
Make a gradient from your image's colors
Picbolt gives you two ways to do this.
- MAGIC GRADIENTS: on the BG tab, Picbolt generates gradients in your browser from the colors in the image on the canvas. Click SHUFFLE to get a different combination. Because the gradients come from your image, an image with a few strong colors (a colorful screenshot, a logo, a photo with a clear palette) gives you more to work with than a mostly grey one.
- The first preset: on the Presets tab, the first preset uses your image, blurred, as the background. Apply it first, then hide the foreground (step 7 above). Applying a preset also changes filters, so the order matters. The result is a soft color wash based on the photo.
Your image is processed in your browser and never uploaded.
Shift a preset toward the colors you want
Picbolt has no two-color gradient builder. CUSTOM BG sets a single solid color, your own background image, or Transparent. To move closer to your brand colors, adjust a preset instead:
- Pick the gradient that is closest in mood.
- On Settings, under FILTERS, switch to BACKGROUND.
- Use HueRotate (0–360°) to shift every color around the color wheel, Saturate to make the colors more muted or more vivid, and Brightness to lighten or darken the whole background.
If you need exact HEX values, build the gradient in Keynote. Then upload the exported image through CUSTOM BG > Image, and use Picbolt for noise, framing and export sizes.
Picking colors that blend well
- Neighboring hues blend cleanly. Blue to purple or orange to pink stays bright all the way across.
- Opposite hues can turn grey in the middle. Blue to orange or blue to yellow often passes through a dull grey or brown, because the straight mix between them is less saturated than either end. To fix it, add a third color in between (blue → pink → orange) or choose hues that are closer together.
- Keep lightness similar if text goes on top. A gradient that runs from near-white to near-black makes text unreadable at one end. Two mid-tones or two light tones are easier to work with.
- Take colors from something you already have. Our Image Color Picker shows the Dominant Color and an Extracted Palette of 5 to 20 colors from any image, in HEX or RGB. Click a swatch to copy it, then paste the value into Keynote or your CSS. It's free and doesn't count toward the download limit. For more on this, see how to extract a color palette from an image.
Exporting at the size you need
In Picbolt, the aspect ratio you choose sets the export size when you click Save. The free plan exports at 1x. Lifetime adds 2x, 4x, 6x and 8x in the Screenshot Mockups editor.
| Use | Aspect ratio label | Size at 1x | Size at 2x (Lifetime) |
|---|---|---|---|
| Desktop wallpaper, video, slides | 16:9 Youtube Video | 1920×1080 | 3840×2160 |
| Ultrawide wallpaper | 21:9 Ultrawide Monitor | 2560×1080 | 5120×2160 |
| Instagram square post | 1:1 Instagram Post (Square) | 1080×1080 | 2160×2160 |
| Instagram portrait post | 4:5 Instagram Portrait | 1080×1350 | 2160×2700 |
| Story or phone background | 9:16 Instagram Story | 1080×1920 | 2160×3840 |
| X (Twitter) header | 3:1 Twitter Header | 1500×500 | 3000×1000 |
| Link preview image | 1.91:1 Facebook Link Preview | 1200×628 | 2400×1256 |
You can't enter a custom pixel size. If you need a size that isn't on the list:
- Export at the closest aspect ratio, at the highest quality your plan allows.
- If the ratio is different, crop it with Crop Image. It's free and has no daily limit.
- Resize to exact pixels with Resize image, with Keep Aspect Ratio on. For example, a 16:9 export resizes cleanly to 2560×1440. Each resize download counts toward the free plan's 3 a day.
For a full list of platform sizes, see the social media image sizes cheat sheet.
Format: use PNG for gradients. JPEG compression can make smooth gradients look blocky, especially dark, subtle ones. PNG vs JPG vs WebP explains the trade-offs.
Use Save, not Copy, when the size matters. Save exports at the aspect-ratio size. Copy puts a PNG on the clipboard at the size of the canvas on your screen, which isn't the same thing.
Using a gradient behind screenshots or text
A gradient usually sits behind something else. These rules keep the content readable:
- Keep the gradient calmer than the content. Soft mesh gradients and muted presets suit busy app screenshots. Save bright, high-contrast presets for simple images.
- Leave space around a screenshot. In Picbolt, keep the foreground visible, add Padding on the Edit tab, and keep a shadow so the screenshot stands out from the background. Our guide to adding a background to a screenshot walks through it.
- Check text at both ends of the gradient. Text that reads well on the dark corner can disappear on the light one.
- For text, icons or arrows on top, use Design Canvas. It has the same background library and lets you add text, icon, arrow and image layers. On the free plan, text uses Inter or Roboto.
- To place a screenshot over your own gradient in another tool, set CUSTOM BG to Transparent and export as PNG. You get the framed screenshot with no background. On the free plan, the watermark is still included.
- For more depth, try the OVERLAYS on the BG tab, which add shadow overlays on top of the gradient. Use Opacity to control their strength.
Which method to use
| CSS | Keynote (Mac) | Picbolt | |
|---|---|---|---|
| Your own exact colors | Yes | Yes | No (presets, adjusted with filters) |
| Custom angle | Yes | Yes | No (linear presets fixed at 135°) |
| Mesh gradients | Yes, by layering | No | 9 presets |
| Noise / grain | Not with gradients alone | No | Yes |
| Gradient from an image's colors | Manual (copy HEX values) | Manual | Automatic (MAGIC GRADIENTS) |
| Exact pixel size | Fits any element | Any custom size | Preset ratios; resize afterwards |
| Cost and limits | Free | Free | Free plan: 3 downloads a day, watermark, 1x; Lifetime: no watermark, up to 8x |
- Pick CSS if the gradient lives on a website.
- Pick Keynote if you want exact colors and a custom size on a Mac.
- Pick Picbolt if you want mesh or grain, colors taken from an image, or you plan to frame a screenshot on the gradient anyway.
If it doesn't work
- The exported file isn't the size you picked. In Safari, and on iPhone or iPad, Picbolt always downloads PNG data at the on-screen canvas size multiplied by the Quality setting, whatever format you choose. On a computer, use Chrome, Firefox or Edge for exact sizes. Also check that you clicked Save, not Copy.
- You can see stripes in the gradient. Add a little Noise Amount, save as PNG instead of JPEG, and avoid stretching a small export to a much larger size.
- The middle of the gradient looks grey or muddy. The two end colors are too far apart on the color wheel. Try another preset, shift it with HueRotate, or add a middle color in Keynote or CSS.
- Magic Gradients all look similar or dull. The image has few distinct colors. Click SHUFFLE, or add an image with stronger colors.
- A faint outline of your image is still visible. Set Shadow spread to 0 and FRAMES to None, and make sure you set Opacity to 0 under FOREGROUND, not BACKGROUND.
- An upgrade window opens when you pick 2x, WEBP or SVG, or you see "You've reached your daily limit of 3 downloads." These are free-plan limits. The count is per browser and resets the next calendar day. Save and Copy both count, and so does a failed export. See the Free and Lifetime plans.
FAQ
Can I export a gradient as a vector SVG from Picbolt? No. Picbolt's SVG export (a Lifetime option) wraps the rendered image in an SVG file, so it isn't a true vector. For a gradient that scales cleanly, use CSS.
Can I change the angle of a Picbolt gradient? No. The 102 linear presets are fixed at 135°, and Rotate turns your image, not the background. Use Keynote or CSS if you need a different angle.
Does Picbolt upload my image to make Magic Gradients? No. The gradients are generated in your browser, and your image is never uploaded.
