Skip to content

hue-rotate

Utilities for rotating the hue of an element’s pixels around the color wheel.

ISS preview
Iced + ISS preview demonstrating hue-rotate
ISS preview for hue-rotate
use iced::widget::container;
use iss::{tw, TwExt};
let badge = container(art).tw(tw!("hue-rotate-30 rounded-xl"));
Tailwind Class CSS Property / Effect iss::typed Builder
hue-rotate-0 / 15 / 30 / 60 / 90 / 180 filter: hue-rotate(<deg>); .hue_rotate(60.0)
-hue-rotate-30 Negative hue rotation; .hue_rotate(-30.0)
hue-rotate-[120deg] Arbitrary angle (deg/turn/rad); .hue_rotate(120.0)

saturate · invert · backdrop-hue-rotate