4 Replies Latest reply: May 18, 2015 3:33 AM by Chanty 4u RSS

    RE:colours

    Chanty 4u

      hi guys

      can anyone provide the colour codes material ?

       

       

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

       

      thanks.

        • Re: RE:colours
          Petter Skjolden

          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.

          • Re: RE:colours
            sivasankar kanagasabai

            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.