I want to find a color whose rgba(r,g,b,0.75) = 46,50,56
.
I am working on a theme that has a base color variable in the config file, And in css files it is being used with opacity like this. rgba(var(--base-color),0.75)
.
I have a base color, lets say rgb(129,45,211)
. If I change --base-color
variable to my color then 75% opacity applies on this color.
I have two options, change 75% opacity in all files that I don't want to do. Find a color which will be equal to my base color after applying 75% opacity. Is it possible to do that?