Set Universal Color as Picture in Sass

So I understand how to define custom colors in the /theme/variables.scss file, but what if instead of defining a custom color with a hex value I want to define it with an image? How could I do that?

You can’t change sass vars at runtime