def filter.blend.sat

gralha-svg-render@0.1.0.1 · svg.bend:4571

import gralha-svg-render@0.1.0.1/svg.bend as Svg
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U
import gralha-image@0.1.0.1/image.bend as Img

4571def filter.blend.sat(+c: Img.Color) -> F32:
4572  Img.Color{r, g, b, a} = c
4573  (U.max(r, U.max(g, b)) - U.min(r, U.min(g, b)) : F32)

Uses (5)

Used by (1)