Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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,
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
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?
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
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...
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
Thanks Rob, always valuable input!
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
Thanks John!
Thats a nifty tool to play with.
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