Skip to content

saturate

Utilities for boosting or reducing color saturation on an element subtree.

ISS preview
Iced + ISS preview demonstrating saturate
ISS preview for saturate
use iced::widget::container;
use iss::{tw, TwExt};
let cover = container(img).tw(tw!("saturate-125 rounded-xl overflow-hidden"));
Tailwind Class CSS Property / Effect iss::typed Builder
saturate-0 / 50 / 100 / 150 / 200 filter: saturate(0 .. 2); .saturate(150)
saturate-[1.25] filter: saturate(1.25); .saturate_factor(1.25)

grayscale · brightness · backdrop-saturate