Overview
Hue rotation utilities shift the hue of imagery by a fixed angle. They are useful for subtle brand tinting, stylized states, or creative treatments when the source asset should stay in place.| Class | Filter (CSS) | Usage |
|---|---|---|
.hue-rotate-15 | filter: hue-rotate(15deg); | Gentle drift |
.hue-rotate-30 | filter: hue-rotate(30deg); | Moderate shift |
.hue-rotate-60 | filter: hue-rotate(60deg); | Strong color family change |
.hue-rotate-90 | filter: hue-rotate(90deg); | Quarter-turn hue |
.hue-rotate-180 | filter: hue-rotate(180deg); | Complementary / dramatic stylized look |
Example
Markup
Best Practices
- Use the small rotation helpers first when you only need a gentle color drift.
- Reserve
hue-rotate-180for stylized states or dramatic transformations. - Stack hue rotation with saturation or contrast carefully so the image still feels intentional.
Related Utilities
Saturate
Adjust color intensity before or after rotating hue
Contrast
Tighten tonal separation alongside the hue shift
Color Effects
Combine hue changes with grayscale, invert, or sepia treatments
Filters Overview
Review the full shipped filter surface

