Tuesday, October 13, 2015

transparency - Formula for finding out the result of a color after applying x% opacity to it?


I have 2 colors



  1. #a1a2a4


  2. black (#000000)

  3. white (#ffffff)


Now I need to know how much opacity (in a percent) must I apply to the second color (black) against a background of the third color (white) to achieve a color "closest" (as determined by the eye) to the first color (#a1a2a4).


How do I go about doing it?




No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...