Skip to main content

Tailwind CSS Effects Cheatsheet

Complete reference for shadows, filters, blur, and visual effects.
All Tailwind v4 effects utilities in one place.

Box Shadow

Apply shadow effects to elements. Use shadow-{color} to colorize shadows.

shadow-sm
shadow
shadow-md
shadow-lg
shadow-xl
shadow-2xl
shadow-inner
shadow-none

Shadow Colors

shadow-red-500/50
shadow-blue-500/50
shadow-green-500/50
shadow-purple-500/50

Drop Shadow (Filter)

Unlike box-shadow, drop-shadow respects transparency and works on irregular shapes like images with transparent backgrounds.

drop-shadow-sm
drop-shadow
drop-shadow-md
drop-shadow-lg
drop-shadow-xl
drop-shadow-2xl
drop-shadow-none

Tip: Use drop-shadow for transparent PNGs or SVGs. Box-shadow would create a rectangular shadow around the entire element.

Opacity

Control the transparency of elements. See full opacity scale reference

opacity-0
opacity-5
opacity-10
opacity-20
opacity-25
opacity-30
opacity-40
opacity-50
opacity-60
opacity-70
opacity-75
opacity-80
opacity-90
opacity-95
opacity-100

Blur

Apply blur effects to elements using the filter property.

blur-none0px
blur-sm4px
blur8px
blur-md12px
blur-lg16px
blur-xl24px
blur-2xl40px
blur-3xl64px

Brightness

Adjust the brightness of elements. Values below 100 darken, above 100 brighten.

brightness-00
brightness-500.5
brightness-750.75
brightness-900.9
brightness-950.95
brightness-1001
brightness-1051.05
brightness-1101.1
brightness-1251.25
brightness-1501.5
brightness-2002

Contrast

Adjust the contrast of elements.

contrast-00
contrast-500.5
contrast-750.75
contrast-1001
contrast-1251.25
contrast-1501.5
contrast-2002

Grayscale

Convert elements to grayscale.

grayscale-0

No effect

grayscale

Full grayscale

Hue Rotate

Rotate the hue of all colors in an element.

hue-rotate-00deg
hue-rotate-1515deg
hue-rotate-3030deg
hue-rotate-6060deg
hue-rotate-9090deg
hue-rotate-180180deg

Use negative values with -hue-rotate-* for counter-clockwise rotation.

Invert

Invert the colors of an element.

invert-0

No effect

invert

Full invert

Saturate

Adjust the color saturation of an element.

saturate-00
saturate-500.5
saturate-1001
saturate-1501.5
saturate-2002

Sepia

Apply a sepia tone to an element for a vintage look.

sepia-0

No effect

sepia

Full sepia

Backdrop Filter

Apply filter effects to the area behind an element. Perfect for glassmorphism effects.

Glassmorphism Example

backdrop-blur-md bg-white/30

Classic glassmorphism effect

Backdrop Blur Scale

backdrop-blur-none0px
backdrop-blur-sm4px
backdrop-blur8px
backdrop-blur-md12px
backdrop-blur-lg16px
backdrop-blur-xl24px
backdrop-blur-2xl40px
backdrop-blur-3xl64px

Other Backdrop Filters

Backdrop Brightness

backdrop-brightness-0

backdrop-brightness-50

backdrop-brightness-100

backdrop-brightness-150

backdrop-brightness-200

Backdrop Contrast

backdrop-contrast-0

backdrop-contrast-50

backdrop-contrast-100

backdrop-contrast-150

backdrop-contrast-200

Backdrop Grayscale

backdrop-grayscale-0

backdrop-grayscale

Backdrop Saturate

backdrop-saturate-0

backdrop-saturate-50

backdrop-saturate-100

backdrop-saturate-150

backdrop-saturate-200

Backdrop Sepia

backdrop-sepia-0

backdrop-sepia

Backdrop Hue Rotate

backdrop-hue-rotate-0

backdrop-hue-rotate-15

backdrop-hue-rotate-30

backdrop-hue-rotate-60

backdrop-hue-rotate-90

backdrop-hue-rotate-180

Backdrop Invert

backdrop-invert-0

backdrop-invert

Backdrop Opacity

backdrop-opacity-0

backdrop-opacity-50

backdrop-opacity-100

Mix Blend Mode

Control how an element blends with its background.

normal
multiply
screen
overlay
darken
lighten
color-dodge
color-burn
hard-light
soft-light
difference
exclusion
hue
saturation
color
luminosity

Background Blend Mode

Control how an element's background layers blend with each other.

normal
multiply
screen
overlay
darken
lighten
color-dodge
color-burn
hard-light
soft-light
difference
exclusion
hue
saturation
color
luminosity

Combining Filters

You can combine multiple filter utilities to create complex effects.

Vintage Photo

<img class="sepia contrast-125 brightness-90" />

Blur on Hover

<img class="blur-sm hover:blur-none
     transition-all" />

Glassmorphism Card

<div class="backdrop-blur-md
     bg-white/30 border
     border-white/20" />

Vibrant Image

<img class="saturate-150 contrast-110
     brightness-105" />