Does Flare understand RGBa?

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets

Does Flare understand RGBa?

Postby WriterAndrew on Tue Jun 11, 2019 3:52 am

Hi,

I'm trying to use RGBa to give me a "semi-transparent" background that does not also impact the child elements (ie. I want a faded background, WITHOUT fading the text on top of it)

I can use RGB to specify solid colors in my stylesheet:
{background: rgb(255 250 240);}
This works as I'd expect.

However, if I try to add the alpha channel:
{background: rgba(255 250 240 0.2);}
then it doesn't apply any color - it doesn't work! (I've tried changing the alpha from 0.1 to 1.0 - none work!

Am I doing something wrong, or is it that Flare does not understand RGBa yet?

Thanks
WriterAndrew
Propeller Head
 
Posts: 24
Joined: Tue Mar 05, 2019 2:43 am

Re: Does Flare understand RGBa?

Postby atomdocs on Tue Jun 11, 2019 7:14 pm

How does it look in your output? There are some properties that Flare can't render in the editor, but are fine in output. You can still use them in your projects.
Tom
Flare 2019, Capture 7
Image
User avatar
atomdocs
Sr. Propeller Head
 
Posts: 305
Joined: Tue Jun 18, 2013 3:00 am
Location: Eastern Seaboard, Thailand

Re: Does Flare understand RGBa?

Postby WriterAndrew on Wed Jun 12, 2019 2:53 am

Hi, atomdocs,
I've checked in the output, and as far are I can tell, Flare seems to ignore RGBa... (well, at least, I've not found a way of making it understand them yet!)
Thanks
WriterAndrew
Propeller Head
 
Posts: 24
Joined: Tue Mar 05, 2019 2:43 am

Re: Does Flare understand RGBa?

Postby ajturnersurrey on Wed Jun 12, 2019 7:04 am

It may just be a question of syntax. Have you tried referring to background-color and putting commas between the values?
ajturnersurrey
Sr. Propeller Head
 
Posts: 320
Joined: Fri Nov 05, 2010 3:30 am

Re: Does Flare understand RGBa?

Postby WriterAndrew on Mon Jun 17, 2019 4:15 am

SOLVED!
The following syntax works:

{
background-color: rgba(255, 245, 238, 0.5);
}
WriterAndrew
Propeller Head
 
Posts: 24
Joined: Tue Mar 05, 2019 2:43 am


Return to Web-based Outputs

Who is online

Users browsing this forum: No registered users and 2 guests