Mik378
Mik378

Reputation: 22191

How to increase the brightness of the badge?

enter image description here

Basically, I have this tab-item with background-color: #000
and the badge with background-color: red.

I don't like the apparence. Indeed, the red is not visible enough.

Is there a way to increase the brightness in css?
Or altering the color with a specific rgb value?

Upvotes: 0

Views: 31

Answers (1)

Jonathan
Jonathan

Reputation: 9151

If you use the element inspector you'll find that the image is not at full opacity. You should be looking for opacity: 0.7 (judging by the output red). You can then change it to opacity: 1. This doesn't have to be on the element itself, it can also be on any parent element (in your case likely the bell picture).

Upvotes: 1

Related Questions