Added possibility to add a gradient with multiple colors