Like the thin edge of a soap bubble or oil film, overlapping bands of color trace the shape's rim.
Raise `intensity` to brighten the rim and widen `rimWidth` to spread color inward. `thickness` changes how many spectral bands appear along the edge; `dispersion` changes how colors vary around it. Adjust `hueShift` to rotate the spectrum.
This effect creates a narrow color accent on its own shape and reads well against a plain backdrop. Layering it with other rainbow materials can make the edge harder to distinguish.
When to use
Use it for iridescent logo edges, a foil-like badge accent, or a brief material transition. Avoid it where color should remain restrained or small text needs clarity.