Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
ZoeM
Specialist
Specialist

ARGB Codes

Community,

Is there an easy way to find out ARGB codes?

I am looking for a green to yellow gradient, and I can use two color gradient for this because its in a pivot chart.

 

Thanks,

Labels (2)
1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

A couple of tips:

1. In the QlikView color dialog, you can play with the color picker and note the RGB values. 

2. A favorite site of mine for choosing colors, gradients and complements is http://www.html-color-names.com/color-chart.php.  Some values on the site are shown only in hex but you can convert to rgb using a tool like here https://www.rapidtables.com/convert/color/hex-to-rgb.html

-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com

View solution in original post

11 Replies
albertovarela
Partner - Specialist
Partner - Specialist

You could use http://colorbrewer2.org/#type=sequential&scheme=YlGn&n=3 to get the RGB values then you can play with the Transparency (A) value in the range 0 - 255. 0 corresponds to full transparency and 255 corresponds to full opacity.
ZoeM
Specialist
Specialist
Author

You learn something new everyday Alberto, Thanks. 

But I guess I am not getting the same depth as I was looking for. I thought using ARGB would make it more gradient like, so a gradual rise from Yellow to Green?

mrtinsjoao
Contributor III
Contributor III

To discover some color that you want. Use the button "printscrenn" after that, just paste on Paint. Use the

"color selector" select what color you want to know, after "Edit Colors" on "tools bar" and catch the RGB number. 

 

Thanks 

João Martins

ZoeM
Specialist
Specialist
Author

Neat trick there Joao, never knew the painter had that functionality. 

Unfortunately when I selected since it was a gradient, it only selected the primary color. But I love that trick though...

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

A couple of tips:

1. In the QlikView color dialog, you can play with the color picker and note the RGB values. 

2. A favorite site of mine for choosing colors, gradients and complements is http://www.html-color-names.com/color-chart.php.  Some values on the site are shown only in hex but you can convert to rgb using a tool like here https://www.rapidtables.com/convert/color/hex-to-rgb.html

-Rob
http://masterssummit.com
http://qlikviewcookbook.com
http://www.easyqlik.com

ZoeM
Specialist
Specialist
Author

Thanks Rob, always valuable input!

johnca
Specialist
Specialist

You can always alter an A value to make the color less opaque.

My preference when making gradients from one color to another is http://www.perbang.dk/rgbgradient/

Enter the two colors you want, how many steps, and voila!

HTH,

John

ZoeM
Specialist
Specialist
Author

Thanks John!

Thats a nifty tool to play with.

johnca
Specialist
Specialist

BTW, I use this expression in a pivot table to make a two color gradient with RGB. I suppose it could be modified to create an ARGB color as well. Note the center color is static at 255 (Green). Varying the Red and Blue makes this one go from white to Green based on the value of Sum(DataValue).

rgb(255-log(1+Sum(DataValue))*50,255,255-log(1+Sum(DataValue))*50)

I believe I found it in one of John Witherspoon's posts many years ago.

I also use this as the text color to make it lighter or darker between white and black.

rgb( 255-log(1+Sum(DataValue))*50, 255-log(1+Sum(DataValue))*50, 255-log(1+Sum(DataValue))*50)

HTH,

John