Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
mr_lampert
Contributor III
Contributor III

Show RGB Code

Hello Community,

short question: is it possible to show the RGB color code from another column?

Unbenannt.JPG

Greetings,

David

1 Solution

Accepted Solutions
jmvilaplanap
Specialist
Specialist

Hi,

You can store the RGB values in a variable, and show it where you want.

Regards

View solution in original post

5 Replies
jmvilaplanap
Specialist
Specialist

Hi,

You can store the RGB values in a variable, and show it where you want.

Regards

sergio0592
Specialist III
Specialist III

As expression, paste your background color expression and add ' ' for rgb().

eg : =if(Country='USA','rgb(128,165,165)', if(Country='India','rgb(110,115,165)'))

mr_lampert
Contributor III
Contributor III
Author

Hello


I would do that if the code for that was not thaaaaaaaat long. So the easiest way would be to show the RGB code in that other column with an simple formula. But if that does not work, I`ll use your solution.


Greetings

David

mr_lampert
Contributor III
Contributor III
Author

Hello

it looks like there is no easy way to ask for this. Because the expression for the RGB Column this is veeeeery long. So sad

OK! If there is no other solution I use that.

Greetings

David

saumyashah90
Specialist
Specialist

Check this out.

Get Color.docx