Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 8 of 8 total
Thread How To Specify Colours
Thu, Feb 4 2016 5:59 AMPermanent Link

Mark Brooks

Slikware

Avatar

Has anybody found a quick and easy way to grab a colour from a web page and simply past this into the EWB object inspector for a TColor property? I seem to have to grab the colour (typically as hex or RBG) then perform some calcs on it before I end up with something that the TColor property accepts AND matches the intended colour?

Thanks
Mark
Thu, Feb 4 2016 6:23 AMPermanent Link

Matthew Jones

Mark Brooks wrote:

> Has anybody found a quick and easy way to grab a colour from a web
> page

Nope - various systems I have all seem to have different orders. Some
are simple, some not. Main thing is to include the initial FF so that
it isn't transparent.

--

Matthew Jones
Thu, Feb 4 2016 6:47 AMPermanent Link

Uli Becker

Am 04.02.2016 um 11:59 schrieb Mark Brooks:
> Has anybody found a quick and easy way to grab a colour from a web page and simply past this into the EWB object inspector for a TColor property? I seem to have to grab the colour (typically as hex or RBG) then perform some calcs on it before I end up with something that the TColor property accepts AND matches the intended colour?

This is how I handle that:

I use this colorpicker:

http://melk.de/software/copi/copi.zip

In the objectinspector I doubleclick the Color property and enter the
hex value in the html-edit of the color-selection form. Not copy&paste,
but quite simple and quick.

Regards Uli
Thu, Feb 4 2016 10:47 AMPermanent Link

Mark Brooks

Slikware

Avatar

Uli / Matt

Many thanks. The key for me was the double-click on TColor in order to pull up the dialog. I really never knew you could do this. Doh .............

Cheers
Mark
Fri, Feb 5 2016 6:14 AMPermanent Link

Uli Becker

Mark,

I looked for a better tool and found this:

http://instant-eyedropper.com/

At least it stores the HTML value in the clipboard and there are some
formats available. There is one ("AABBCC") which can be used for EWB,
just add $FF to the left of the value.

I just asked the developer to add this format and will keep you up to date.

Regards Uli
Fri, Feb 5 2016 12:16 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< There is one ("AABBCC") which can be used for EWB, just add $FF to the left of the value. >>

You don't need the $FF - the color editor dialog in EWB only uses the "base" rgb hex value without the alpha.  You have to use the alpha edit control to adjust the alpha directly.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Feb 5 2016 12:23 PMPermanent Link

Uli Becker

Tim,

<<
You don't need the $FF - the color editor dialog in EWB only uses the "base" rgb hex value without the alpha.  You have to use the alpha edit control to adjust the alpha directly.
>>

Thanks, but I meant to paste the value directly info the object inspector without using the Dialog.

Uli
Fri, Feb 5 2016 12:24 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Uli,

<< Thanks, but I meant to paste the value directly info the object inspector without using the Dialog.  >>

Oops, sorry, ignore me and carry on.... Smile

Tim Young
Elevate Software
www.elevatesoft.com
Image