Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Colour adjustments

hi,

I want to give colour throug RGB values but this colour also have HSL values so how to i pass both the values in my Expression so that i can get the desirsd colour

Thanks

Darshika

5 Replies
Not applicable
Author

=rgb(247,35,246)

Not applicable
Author

but where in this rgb formula i will adjust the hue,sturation,luminense

tresesco
MVP
MVP

Like:

=HSL(rgb(100,20,30),1, .2)

Not applicable
Author

http://community.qlik.com/thread/47765

look at this Darshika, it is coloring based on ranking

its_anandrjs

Check the definition from help and according to that you have to use the both HSL and RGB

HSL (hue, saturation, luminosity)

This function returns the color representation of a color defined by a hue between 0 and 1, a saturation value between 0 and 1 and a luminosity value between 0 and 1. The color representation is a dual value where the text representation comes in the form of 'RGB(r, g, b)' where r, g and b are numbers between 0 and 255 representing the red, green and blue color value respectively. The number representation is an integer representing the red, green and blue components as they are defined in Visual Basic.

Hope this helps