fade-out($color, $amount) decreases a legacy color’s alpha by a fixed amount between 0 and 1 (inclusive) and returns a new color. It is a global built-in — there is nocolor.fade-out(). Official docs list it as an alias of transparentize().
Examples use deprecated global fade-out() / transparentize() plus modern scale / adjust. Open View Compiled CSS for verified output (matches official Sass docs samples).
Example 1 — Alpha 0.5 → 0.1 (Official Docs)
A soft taupe wash becomes nearly invisible by a fixed 0.4 alpha.
Deprecated: fixed alpha subtraction on legacy colors (alias of transparentize).
Prefer color.scale for “percent more transparent.”
Use color.adjust(..., $alpha: -$amount) when you must match old pixels.
No module form — there is no color.fade-out().
One line: learn fade-out to read legacy overlays; write scale (or adjust) in new code.
Migrate
Migrate Notes
Conceptual flow:
flow.txt
1. Find fade-out($color, $amount) or transparentize($color, $amount)
2. Want "% more transparent"? → color.scale($color, $alpha: -$percent)
3. Need same pixels? → color.adjust($color, $alpha: -$amount)
4. @use "sass:color"
5. Delete the global fade-out() / transparentize() call
Frequently Asked Questions
fade-out($color, $amount) decreases a legacy color’s alpha by $amount (0–1). Example: fade-out(rgba(#e1d7d2, 0.5), 0.4) is rgba(225, 215, 210, 0.1); fade-out(rgba(#036, 0.3), 0.3) is fully transparent rgba(0, 51, 102, 0).
Yes. Official Sass docs list fade-out($color, $amount) and transparentize($color, $amount) as aliases that return the same color.
Yes. Official Sass docs list it under Deprecated Functions and omit it from the sass:color module. Prefer color.scale() for relative transparency, or color.adjust($color, $alpha: -$amount) to keep the old math.
Because fade-out() is usually not the best way to make a color more transparent, it is not included in the new module system. Use color.scale or color.adjust instead.
fade-out subtracts a fixed alpha amount (0.3 − 0.3 becomes fully transparent). color.scale($c, $alpha: -30%) makes the color 30% more transparent than it was, which is usually what designers want.
For the same fixed subtraction: color.adjust($color, $alpha: -$amount). For better relative transparency: color.scale($color, $alpha: -$percent). transparentize() migrates the same way.