图片与设计工具

透明图片生成

透明图片生成;输入、输出与参数范围在实施前细化。

优先本地处理无需注册隐私说明 ↗

LOCAL PIXEL RULE

Make one color transparent

Choose a color from the image or enter a HEX value, set a tolerance, and turn matching pixels transparent in your browser.

No file selected

One JPEG, PNG, or WebP up to 20 MB and 40 megapixels. The source stays in this browser.

Click the image preview to sample one decoded pixel, or enter a six-digit HEX color.

Pixels within this RGB distance are cleared. Higher values remove more shades.

This is a color-key tool, not subject detection. It may remove matching colors inside the subject and may leave shadows, gradients, or anti-aliased edges. Existing alpha is multiplied by the rule.

Choose an image to begin.

使用步骤

如何使用

  1. Choose one JPEG, PNG, or WebP up to 20 MB and 40 megapixels.
  2. Sample a pixel or enter a HEX color, then set the RGB distance tolerance.
  3. Create a PNG, inspect the checkerboard preview, and download it if the color rule produced the result you need.

An explicit color key

This tool compares every decoded pixel with one chosen RGB color using Euclidean RGB distance. A tolerance of 0 clears only an exact decoded match; higher values also clear nearby shades. Existing alpha is preserved for pixels outside the match and cleared for matching pixels.

Why this is not automatic background removal

The browser applies a color rule and does not understand subjects, edges, depth, or scene structure. It can remove the same color inside a subject and can leave shadows, gradients, and anti-aliased fringes. Use a lower tolerance or a more suitable source when those details matter.

Local limits and output

Input is one JPEG, PNG, or WebP up to 20 MB, 10,000 pixels per side, and 40 megapixels. The result is a newly encoded PNG with the same pixel dimensions. Canvas conversion does not preserve source metadata, profiles, animation, or exact compressed bytes. The source never leaves this browser.

常见问题

你可能还想知道

Does this remove a person or object automatically?

No. It clears pixels by their RGB distance from one chosen color. It has no subject detection or AI model.

What does tolerance mean?

Tolerance is the maximum Euclidean distance across red, green, and blue channels. Zero matches only the exact chosen RGB value; larger values include more nearby colors.

Can I sample the background?

Yes. After choosing an image, click its preview to sample a decoded pixel. You can also type a six-digit HEX color.

Will the result keep its dimensions and metadata?

The PNG keeps the input pixel dimensions and alpha output, but canvas encoding does not preserve source metadata, color profiles, animation, or original compressed bytes.