Free Support Forum -

Set lighter shades of Ascent colors of theme to a shape in Aspose Slides

Hi There,

We have a requirement where we need to set lighter shades of the Ascent colors of Theme to some shapes and maintain the theme. i can set the Ascent color, but how do i manipulate the color such that , the color lighter than Ascent color should be applied.
Below example:
AutoShape shape = ((AutoShape)pres.Slides[0].Shapes.AddAutoShape(ShapeType.Rectangle, 0, 0, 100, 100));
shape.Name = “shape1”;
shape.FillFormat.FillType = FillType.Solid ;
shape.FillFormat.SolidFillColor.Color = pres.MasterTheme.AsITheme.ColorScheme.Accent1.Color;// Here I want one shade lighter to Accent Color.

How can we achieve this? Any example around this will be helpful.

Best Regards,
Neha K


I have tried understanding your requirements and request you to please provide the source presentation, desired output presentation and working sample code used on your end. We shall investigate the issue further on our end on provision of requested information.