Get transparent color to create specific color on a specific background


I've got some Images like this one: enter image description here

Now I need to find out the color which will become the orange in the right center of the image when drawn on a new layer with 50% opacity (The Background is the grey color).

Sadly I've no idea how to do this.

9/24/2012 10:15:00 PM

Try this one:

  1. Open the image editor. Create a layer behind the transparent image.
  2. Set the background color of the layer you created to #000000 or rgb(0,0,0)
  3. Get the color code of your transparent image as hexadecimal number.
  4. Convert hexadecimal to decimal. Multiply it by 2. Convert the result to hexadecimal.

I tried this with two colors. I think Photoshop uses transparent tool with a polynomial function, not a linear function. Probably because of that, first test gave me a result accuracy of 96%. Second test gave 99% accuracy. I hope it helps.

9/27/2012 4:23:00 PM