Questions tagged [opacity]

Opacity is the degree to which a graphical object obscures objects which are rendered behind it.

Graphical objects which have a level of opacity less than 100% can be "seen through". The objects which are rendered behind are blended with the object in front; the resulting effect being like looking through a pane of coloured glass.

Opacity appears as an attribute in many graphical contexts, including [3D rendering], and Web Styling.

Opacity is the opposite of .

See also:

2509 questions
0
votes
1 answer

How to set the Opacity of Text in a JComboBox list?

Currently attempting to generate a ComboBox with a list of Strings and want those String values to have a certain opacity. The CombobBox itself should remain normal and only the data change. I was able accomplish this with my ComboBox of icons by…
Unhandled Exception
  • 1,427
  • 14
  • 30
0
votes
0 answers

CSS opacity is now different in Chrome than in Edge - Is this a bug?

So in my web app I have a menu which I like to display with a bit of transparency and background blur, and it's always worked great, but yesterday I noticed that Chrome is rendering the menu differently now and I'm wondering if that's a bug or a…
Vincent
  • 1,741
  • 23
  • 35
0
votes
2 answers

How would I have different Opacity levels on inner content using Wordpress on different pages?

I have a golf website I am working on where I am using a golf hole background. To have this so you can see the image on the home page I changed opacity levels down to 70% in CSS on the inner text content. I don't want it to look like that on other…
PatonPlace
  • 21
  • 4
0
votes
1 answer

Dynamically apply opacity to hex color

I am currently working on a problem where the background of some UI component has to be: the main color of the screen plus a 30% opacity. The main color is retrieved from a backend service and comes in the form of: #224466. Now, I would like to…
VCODE
  • 535
  • 5
  • 19
0
votes
1 answer

How to get the color beneath an opaque JPanel?

Is there is a way to get the color underneath an opaque JPanel? I have two JPanels, a red one and a blue one (they are animated). I want to get the color of a surface according to the JPanel that passes over it. In following images, the small…
Chakib
  • 3
  • 1
0
votes
4 answers

Change opacity of 2 items on hover

I have 2 images on my page. when I hover over img.a, it changes opacity to 0 and works perfectly. However I would like img.c to also change opacity to 0 when img.a is being hovered over. My code works for img.a but nothing for img.c
javy
  • 3
  • 2
0
votes
1 answer

html div element transparent

I have this code: