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: 
Not applicable

Transparency problems with sheet background color

Hi

I'm trying to use a light beige color as background, and adding some transparency to it. When I do so it actually gets darker, not brighter. Setting transparency to 100% it get light grey.

How can I change the color that seems to be behind the background color?

Kind regards

Espen

4 Replies
whiteline
Master II
Master II

Hi.

What is the reason to use transparency ? There is nothing to be visible behind the sheet.

Not applicable
Author

Hi

The reason is that I got a color palette where for example I'm using this color: RGB(217,209,199), and then I want to use it with 40%, 55%, 70% and 85% transparency to get different shades of the same basecolor.

This is a color setup setup that I got from the client.

Kind regards

Espen

whiteline
Master II
Master II

You can use ColorMix1 function to calculate the desired color on the basis of RGB(217,209,199).

So that you can choose the secondary color whatever you want.

Not applicable
Author

Thanks, that works when typing it into the expression.

Now I have to get it to work into the XML code in Themes...

It was actually easier than expected:

<PrimaryCol>

        <Col>

          <Red>217</Red>

          <Green>209</Green>

          <Blue>199</Blue>

          <Alpha>255</Alpha>

        </Col>

        <IsCalculated>true</IsCalculated>

        <ColorExpr>

          <v>ColorMix1(0,RGB(217,209,199),RGB(255,255,255))</v>

        </ColorExpr>

Kind regards

Espen