# Finding the base color of one at 50% opacity

I have the color that's the result of another color applied onto a white background with an opacity of 50%. That color has the HEX #b4dcf7. Apologies if I'm missing something simple, but is there an easy way to get what the color would've been if applied at full opacity?

If you have consistent color settings in all of your used software and you did not use any software screen color calibration (which makes the rgb numbers in your screenshot unpredictable) you can simply reverse the formula shown in the answers of duplicate candidate that you called "seems like it may be it". For 50% opacity simply double the rgb-numbers of your screenshot color and subtract 255 from the results.

• Color management usually does not affect color blending. Weird huh? Commented Feb 12, 2023 at 12:40

Sure, first convert your hex numbers to RGB decimal numbers (to make it easier to do calculations):

B4 DC F4 -> (180, 220, 247)

Now consider how far these values are from white (255,255,255)

(255, 255, 255) - (180, 220, 247) = (75, 35, 8)

If that's the difference at 50%, then at 100% the difference should be twice as much (transparency is just linear interpolation).

(75, 35, 8) x 2 = (150,70,16)

That's the difference from white. So subtract this from white, and convert back to hex:

(255,255,255) - (150, 70, 16) = (105, 185, 239) -> 69B9DF