Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Chanty4u
MVP
MVP

RE:colours

hi guys

can anyone provide the colour codes material ?

means RGB values for which color we use which code ...?

thanks.

1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

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.

View solution in original post

4 Replies
petter
Partner - Champion III
Partner - Champion III

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.

Chanty4u
MVP
MVP
Author

thanx

petter.

Siva_Sankar
Master II
Master II

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.

Chanty4u
MVP
MVP
Author

thnks shiva