Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
giakoum
Partner - Master II
Partner - Master II

ARGB to RGB

Hi all.

I have ARGB color values that I need to convert to RGB :

ARGB(128, 255, 0, 0) to RGB(?, ?, ?)

alpha value 128 means 50% opacity for red in the above example. To what RGB does this correspond?

Thank you.

1 Solution

Accepted Solutions
flipside
Partner - Specialist II
Partner - Specialist II

Answer on this thread ...

http://community.qlik.com/thread/74457?tstart=120

The post of May 14th 2013 has attachment AlphaBlending.qvw.

flipside

View solution in original post

4 Replies
Gysbert_Wassenaar

That depends on the color of the object below the object with color ARGB(128, 255, 0, 0). Against a white background it's 255,127,127.


talk is cheap, supply exceeds demand
giakoum
Partner - Master II
Partner - Master II
Author

Hi Gysbert.

Thank you for your answer. Yes, background is white. Is there a formula to calculate this, as alpha is dynamic and not always 128?

flipside
Partner - Specialist II
Partner - Specialist II

Answer on this thread ...

http://community.qlik.com/thread/74457?tstart=120

The post of May 14th 2013 has attachment AlphaBlending.qvw.

flipside

cspindley
Contributor III
Contributor III

thanX for the quote, so true, and I would add in some cases talk is over_ated