Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

transparent text expression

Hi there,

I'd like to know if there's a string/expression to make text transparent.

Like the strings:

White(),

or

Black()

3 Replies
tresesco
MVP
MVP

you can always choose the font color as white/black. to make it transparent, choose it's background color, right?

swuehl
MVP
MVP

You can look into the ARGB() function, which specify the alpha channel value (opacity):

ARGB(alpha, e1, e2, e3)

This function returns the color representation of a color defined by the red component e1, the green component e2 and the blue component e3 with an alpha factor (opacity) of alpha. All four parameters must be expressions evaluating to integers in the range between 0 and 255. The color representation is a dual value where the text representation comes in the form of 'RGB(a,r, g, b)' where a, r, g and b are numbers between 0 and 255 representing the alpha, red, green and blue color value respectively. The number representation is an integer representing the alpha, red, green and blue components as defined in Visual Basic.

aaronnash
Partner - Contributor II
Partner - Contributor II

Thanks swuehl!  For further reference, as with white to black (0 to 255), the alpha integers are as intuitive (0 = Transparent, 255 = Opaque)