Please use Bourbon for this http://bourbon.io/docs/#transform :)