Overview
Color effect utilities apply grayscale, invert, or sepia through thefilter property, plus filter-none to reset inherited filters. They are ideal for inactive states, editorial tone, and quick dramatic treatments.
Example
Markup
Best Practices
- Use
filter-noneto reset a filter chain when a nested asset should stay untouched. - Use grayscale helpers for muted previews or inactive image states.
- Use invert helpers cautiously on artwork and icons so contrast remains readable.
- Use sepia on editorial or archival treatments where warmth is intentional.
Related Utilities
Saturate
Reintroduce or reduce intensity around grayscale and sepia treatments
Hue Rotate
Shift color families instead of flattening them

