Is possible to have a semi transparent box on top of a another box that have solid color has the same solid color that i want?
Is there any formula like this?
(0.5 opacity color) + another solid color = expectation color
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It only takes a minute to sign up.Sign up to join this community
A quess: You are frustrated because making a box transparent also makes its color to look out washed. You want the transparency but also the wanted brightness, hue and saturation at the same time. You cannot use only solid colors because your workflow should be totally rebuilt without the transparency. Right?
50% transparent color over a solid color produces the average as the visible color. Let's assume you want red value RW and you have 50% transparent red value RT over a solid red value RS. The needed transparent red RT = 2*RW-RS. To get all red values 0...255 every time, the system should allow red values -255 to 512. Unfortunately only 0 to 255 are available, so your color range will be limited.
The blending modes can allow more, if they are available in your system. Insert the available modes to your question to make possible to someone having the underhood knowledge of the blending math to assist.
If your work environment allows custom blending formulas, there should be no problems for a person who can apply them.
Another way that needs a math propellerhead is using 16 bit color depth and clever scaling back to normal 8 bit deep colors. This also unfortunately is beyond the scope of this answer.