Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Transparency changes background color

Hi All

 

I need to have the background of a visual 50% transparent this changes the color so that it doesn´t mach the other visuals.

 

Does anyone know if there is a way to sort this out?

 

/Måns

  • Hi Anonymous 

     

    You can create a measure with below code 

    Measure = "rgba(0, 0, 0,0.5)"

     Now use it as formula in your background color

     

    Thanks,

    Samarth

12 Replies

  • FarhanAhmed's avatar
    FarhanAhmed
    Community Champion

    Can you please explain a bit more with screenshots

     

    in the meantime you can change the transparency of background by going to properties of visual

     

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      This two textboxes has the same color, but diffrent Transparency. Changing transparency in a visual changes the color. My issue is that I need to keep the color of my visuals matching but I also need to have Transparency at 50% for one of the visuals.
      Maby some one knows how much 1% of transparency changes the color so I can compensat the hex or somthing? 

      • Samarth_18's avatar
        Samarth_18
        Community Champion

        Hi Anonymous 

         

        You can create a measure with below code 

        Measure = "rgba(0, 0, 0,0.5)"

         Now use it as formula in your background color

         

        Thanks,

        Samarth