I am parsing PowerPoint file and trying read colors used. Following is small part from parsed ppt file. Here I am trying to get proper RGB color.
<a:solidFill>
<a:schemeClr val="tx1">
<a:tint val="75000"/>
</a:schemeClr>
So here original RGB Color is - 45555F(R-36,G-85,B-95) Tint value applied is 75%
Desired color after applying tint has to be - 94999D(R-148,G-153,B-157)
I tried multiple algorithms from following reference links but not getting desired output, Can anyone explain how to apply Tint to RGB and get resultant RGB color values
https://saturncloud.io/blog/c-algorithm-to-tint-a-color-a-certain-percent/
Given an RGB value, how do I create a tint (or shade)?
https://www.ecma-international.org/publications-and-standards/standards/ecma-376/
Thank You!!