Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Background Color Matching
Fri, Apr 24 2015 1:05 PMPermanent Link

Doug B

I'm trying to match the background color of an existing web page header, but using the value from the FireFox inspector in the Background.Fill.Color property of my panel doesn't give me the same results:

From page: #0A4985

Background.Fill.Color: $000A4985

I'm using a FillType of ftSolid.

Any ideas how I can get the same background color?

Thanks,
Doug
Fri, Apr 24 2015 1:20 PMPermanent Link

Walter Matte

Tactical Business Corporation

Doug B wrote:

I'm trying to match the background color of an existing web page header, but using the value from the FireFox inspector in the Background.Fill.Color property of my panel doesn't give me the same results:

From page: #0A4985

Background.Fill.Color: $000A4985

I'm using a FillType of ftSolid.

Any ideas how I can get the same background color?

Thanks,
Doug


If the above was HTML here is the Delphi Code - just reverse order .....  85  48  0A

Try:   $0085490a


Grab "Color Cop"   www.colorcop.net

Easily get colors from screen and convert between html and Delphi.   See screenshot



Attachments: colorcop.png
Fri, Apr 24 2015 2:45 PMPermanent Link

Doug B

Thanks Walter, that's a handy tool. Smile

I also realized that I could simply double-click on the color property edit to bring up the color editor, which allowed me to paste the HTML color in directly.

Doug
Fri, Apr 24 2015 4:18 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Doug,

<< I'm trying to match the background color of an existing web page header,
but using the value from the FireFox inspector in the Background.Fill.Color
property of my panel doesn't give me the same results: >>

You already know about the color editor. Smile

But, your issue is that you've got a transparent color.  What you want is
this:

Background.Fill.Color: $FF0A4985

In all cases, you should be able to just preface the HTML color code with
$FF (opaque) and you'll be all set.

Tim Young
Elevate Software
www.elevatesoft.com


Image