[SOLVED] Calc color

Just starting out? Need help? Post your questions and find answers here.
Everything
Enthusiast
Enthusiast
Posts: 224
Joined: Sat Jul 07, 2018 6:50 pm

[SOLVED] Calc color

Post by Everything »

let's say we have a certain color and we make two AlphaBlend_() calls with #black and alpha = 20
Can we pre-calculate the resulting color?

Need as an Point() alternative (which we can only do after AlphaBlend).
Last edited by Everything on Thu May 07, 2020 6:22 pm, edited 1 time in total.
User avatar
Michael Vogel
Addict
Addict
Posts: 2677
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Re: Calc color

Post by Michael Vogel »

Won't the AlphaBlend command do what you want?
Everything
Enthusiast
Enthusiast
Posts: 224
Joined: Sat Jul 07, 2018 6:50 pm

Re: Calc color

Post by Everything »

Michael Vogel wrote:Won't the AlphaBlend command do what you want?
Image

I want to know color value from point B when I am on point A (before the AlphaBlend changes color)

And it turned out to be trivial, looks like we just need to reduce V (HSV) and it's done :)
False alarm, solved.
Post Reply