Get transparent color to create specific color on a specific background
Get transparent color to create specific color on a specific background
Question
I've got some Images like this one:
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.
2012/09/24
Popular Answer
Try this one:
- Open the image editor. Create a layer behind the transparent image.
- Set the background color of the layer you created to #000000 or rgb(0,0,0)
- Get the color code of your transparent image as hexadecimal number.
- 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.
2012/09/27