Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi guys
can anyone provide the colour codes material ?
means RGB values for which color we use which code ...?
thanks.
Here is the first page #375 of the QlikView Reference Manual - which part didn't you understand?
Color Functions
These functions can be used in color expressions in sheet object properties supporting calculated color in
image charts.
The functions RBG, HSL and syscolor always return a color with the alpha value of 255 (opaque).
Optionally, for any of the colors a parameter for alpha factor can be given. An alpha of 0 corresponds to full
transparency. An alpha of 255 corresponds to full opacity.
color (n)
This function returns the color representation of color number n in the relevant chart palette. 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. Outside the calculated color expression in the Chart Properties: Colors (page 653) dialog, the function
will always return black.
RGB (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. All three 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(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.
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.
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.
Here is the first page #375 of the QlikView Reference Manual - which part didn't you understand?
Color Functions
These functions can be used in color expressions in sheet object properties supporting calculated color in
image charts.
The functions RBG, HSL and syscolor always return a color with the alpha value of 255 (opaque).
Optionally, for any of the colors a parameter for alpha factor can be given. An alpha of 0 corresponds to full
transparency. An alpha of 255 corresponds to full opacity.
color (n)
This function returns the color representation of color number n in the relevant chart palette. 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. Outside the calculated color expression in the Chart Properties: Colors (page 653) dialog, the function
will always return black.
RGB (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. All three 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(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.
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.
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.
thanx
petter.
Check out the blog on how to define RGB and ARGB colours here https://community.qlik.com/blogs/qlikviewdesignblog/2013/10/04/using-rgb-and-argb-to-define-colors
and find the attached document on colour codes in qlikview. Useful one.
thnks shiva