Detect whether an SVG paints with at most one color — the only case where recoloring to a single monochrome tint is safe. none and currentColor are ignored (they carry no fixed hue); a gradient or >1 distinct color is not single-fill.
none
currentColor
Detect whether an SVG paints with at most one color — the only case where recoloring to a single monochrome tint is safe.
noneandcurrentColorare ignored (they carry no fixed hue); a gradient or >1 distinct color is not single-fill.