@for $i from 1 through 10{ li:nth-of-type(#{$i}){ background:lighten(#ff00ff, 5% * $i; } }