How to convert rgba to a transparency-adjusted-hex?
It depends on the background to which your transparent color will be applied. But if you know the color of the background (e.g. white), you can calculate the RGB color resulting of the RGBA color applied to the specific background. It’s just the weighted average between the color and the background, the weight being the … Read more