3 /// Mixes a color with black.
5 /// @argument {color} $color
7 /// @argument {number (percentage)} $percent
8 /// The amount of black to be mixed in.
14 /// background-color: shade(#ffbb52, 60%);
19 /// background-color: #664a20;
26 @if not _is-color($color) {
27 @error "`#{$color}` is not a valid color for the `$color` argument in " +
30 @return mix(#000, $color, $percent);