replace colors with variables