For a given hex color code, how can I convert it to an rbga
color code where a=0.97 and the rendered color is the same as the initial hex color?
In other words, if I have #ccc
, I need an rgba
equivalent which stills renders the same color as #ccc
but has transparency.