{ CSS Blend Mode Playground }

// experiment with all css blend modes in real time

Experiment with all 16 CSS blend modes on layered elements in real time. Adjust colors, opacity, and upload images — export the generated CSS snippet instantly.

BLEND MODE
LAYER CONTROLS
L1 BASE LAYER
#7c3aed
100%
#0ea5e9
L2 BLEND LAYER
#f59e0b
80%
#ef4444
BG CANVAS BACKGROUND
#ffffff
QUICK PRESETS
LIVE PREVIEW
normal
normal — Default blend. The top layer is displayed as-is, covering the layer below based on opacity.
// GENERATED CSS

        
ALL MODES AT A GLANCE

HOW TO USE

  1. 01
    Pick a Blend Mode

    Click any of the 16 blend mode buttons at the top of the tool to apply it instantly.

  2. 02
    Customize Layers

    Set colors, opacity, and patterns for each layer. Upload your own images for realistic previews.

  3. 03
    Export CSS

    Toggle between mix-blend-mode and background-blend-mode output, then copy the snippet.

FEATURES

All 16 Modes Live Preview Image Upload CSS Export Quick Presets Grid Overview

USE CASES

  • 🎨 Design duotone effects for hero images
  • 🌈 Create complex color overlays in CSS
  • 🖼 Experiment before coding in your project
  • 📸 Simulate photo filter effects with CSS only
  • 🎭 Build layered UI backgrounds and textures

WHAT IS THIS?

CSS Blend Mode Playground lets you experiment with all 16 blend modes defined by the W3C Compositing and Blending specification. Blend modes control how two layers interact visually — the same concept used in Photoshop, Figma, and other design tools, but applied directly in CSS.

RELATED TOOLS

FREQUENTLY ASKED QUESTIONS

What is the difference between mix-blend-mode and background-blend-mode?

mix-blend-mode controls how a CSS element blends with elements behind it in the stacking context. background-blend-mode controls how multiple background layers within a single element blend with each other. Use mix-blend-mode for HTML element layering, and background-blend-mode for layered CSS backgrounds.

How many CSS blend modes are there?

There are 16 CSS blend modes defined in the W3C spec: normal, multiply, screen, overlay, darken, lighten, color-dodge, color-burn, hard-light, soft-light, difference, exclusion, hue, saturation, color, and luminosity. The last four (hue, saturation, color, luminosity) are non-separable modes that operate on the full color value rather than per-channel.

Are CSS blend modes supported in all browsers?

Yes — mix-blend-mode and background-blend-mode are supported in all modern browsers including Chrome, Firefox, Safari, and Edge. Internet Explorer does not support them, but IE is no longer supported by Microsoft. Global browser support is above 97% as of 2025.

What does the "isolation: isolate" CSS property do?

By default, a blended element interacts with everything behind it all the way to the root. Adding isolation: isolate to a parent element creates a new stacking context, so child blend modes only interact with other elements inside that container — not elements further down the page.

Which blend mode is equivalent to Photoshop's Screen?

The screen blend mode in CSS is identical to Photoshop's Screen. It inverts both layers, multiplies them, then inverts the result. It always produces a lighter result and is great for adding glow effects or combining bright highlights.

How do I create a duotone effect with CSS blend modes?

Stack two color overlays on a grayscale image: apply mix-blend-mode: multiply on the highlight color layer and mix-blend-mode: screen on the shadow color layer. Alternatively, use background-blend-mode with a gradient and the image as two background layers. The Duotone preset in this tool demonstrates this technique.

Do blend modes affect performance?

CSS blend modes are GPU-accelerated in modern browsers, so performance impact is minimal for typical use. However, applying blend modes to large elements or many layers simultaneously can trigger compositing layers and increase GPU memory usage. Test on mobile devices if you plan to use heavy blending in production.

Can I use blend modes with CSS animations?

Yes — you can animate properties like opacity, background-color, and transform on blended layers to create dynamic effects. The blend mode property itself is not animatable (it's discrete), but the visual result changes fluidly as the underlying values animate.

What Are CSS Blend Modes?

CSS blend modes control how the colors of two overlapping elements or backgrounds combine visually. Defined in the W3C Compositing and Blending Level 1 specification, they bring Photoshop-style layer blending directly into the browser using pure CSS — no JavaScript, no canvas, no SVG filters required.

Two CSS properties provide this capability: mix-blend-mode applies to HTML elements and determines how they blend with what lies behind them in the stacking order. background-blend-mode applies within a single element and controls how multiple background layers (image, color, gradient) blend with each other.

💡 Looking for premium CSS templates and UI kits? MonsterONE offers unlimited downloads of templates, UI kits, and design assets — worth checking out.

The 16 CSS Blend Modes Explained

Understanding each blend mode helps you choose the right one for your design. Here's a breakdown of all 16:

Separable Blend Modes (operate per color channel)

Non-Separable Blend Modes (operate on full color)

mix-blend-mode vs background-blend-mode

These two properties are often confused. mix-blend-mode is applied to an element and affects how that entire element — including its content — composites against what's behind it in the document. background-blend-mode is applied to an element and only affects how its own background layers (multiple backgrounds via the CSS background shorthand) blend with each other.

For UI effects like duotone images or gradient overlays on photos, background-blend-mode is often more practical. For blending entire UI sections — like a colored overlay that lets text from behind show through — mix-blend-mode is the right choice.

Common Use Cases for CSS Blend Modes

Duotone Photography: Apply two gradient layers with multiply and screen blend modes to convert photos into striking two-color compositions. This is a staple of modern editorial web design popularized by Spotify.

Texture Overlays: Blend a noise or grain texture layer over a solid background using overlay or soft-light to add depth and tactility without extra images.

Color Grading: Use the color blend mode to apply a color tint to images without flattening their contrast — the result is like applying a color gel to a photograph.

Knockout Text: Using mix-blend-mode: difference on white text creates a "knockout" effect where the text inverts whatever color is behind it — it always remains readable.

Gradient Mesh Backgrounds: Stack multiple radial gradient layers with screen or lighten blend modes to create rich, colorful mesh gradient backgrounds entirely in CSS.

Stacking Context and isolation: isolate

One subtlety of mix-blend-mode is that blended elements interact with everything behind them in the current stacking context — potentially including your page background, navigation, or unrelated sections. To constrain blending to a specific group of elements, wrap them in a container and apply isolation: isolate. This forces a new stacking context so blend modes only interact within the group.

Performance Considerations

Blend modes in CSS trigger GPU compositing layers. Modern browsers handle this efficiently, but there are a few things to keep in mind: avoid blending large, frequently-redrawn elements; test on mid-range mobile devices; and avoid stacking too many blended layers (5+ can cause noticeable memory overhead on older hardware). For most decorative uses — hero sections, card overlays, image effects — performance is a non-issue.

Browser Support

Both mix-blend-mode and background-blend-mode have excellent browser support across Chrome, Firefox, Safari, and Edge (global caniuse coverage above 97%). They are safe to use in production without fallbacks in virtually all modern web projects.