I need to apply Transparency to SKIA Paint object. I am using below line of code to achive it.
paint.Color = paint.Color.WithAlpha((byte)(0xFF * transparency));
I created a Windows Forms sample and a SKIASharp Blazor sample to run code on browser.
I observed that Transparency works fine in Windows Forms app and renders colours correctly with alpha.
But in Web app, Transparency is not working as expected. It is changing original colours in display in chrome.
See difference in colors in screenshots attached. Please throw some light on how to get transparency work in web app.