Darkness Analysis

Generate Dark Pixel Mask

Detect and mask dark pixels in your PNG images based on lightness levels. Create high-contrast masks easily.

Drop your images here

Supports PNG, JPG, WebP, AVIF and more. Process hundreds of files at once.

Try with Examples

About Dark Pixel Mask

Dark pixel mask generation helps you isolate and highlight the darkest areas of your images. By analyzing the lightness (HSL) of each pixel, our tool identifies dark pixels below your specified threshold.

This is perfect for creating shadow masks, analyzing dark regions, or generating artistic high-contrast effects based on image darkness.

How It Works

  • Darkness Detection: Set a maximum lightness threshold (0-100%) to define what counts as a "dark" pixel.
  • Custom Colors: Assign specific colors to dark and light areas to create a binary mask.
  • Transparency Control: Choose whether to ignore transparent areas or treat them as part of the mask.