SOLVED? Wrong background colors with alpha?

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
User avatar
Posts: 1784
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

SOLVED? Wrong background colors with alpha?

Post by pjj »

I believe background colors (in e.g. CSS highlighter) are off, if using alpha transparency:
alpha-colors.png (21.71 KiB) Viewed 287 times
#efefef55 in the editor is much darker *) than displayed in the Select Color window. #fff9 is too dark, too.

*) checked it with a color picker, so it's not optical illusion ;)
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus

User avatar
Rickard Johansson
Site Admin
Posts: 6000
Joined: 19 Jul 2006 14:29

Re: Wrong background colors with alpha?

Post by Rickard Johansson »

A color with alpha transparency will always look different depending on the background. A lighter background gives a lighter color, a darker background - a darker color ...
What really matters is how it looks in your HTML document displayed by the browser. And unfortunately, I don't think there is any other way to test the color than displaying it in a browser preview tab.

Post Reply