Replaces colors with variables (fixes #20)