Login  Register

Re: How to bring up the Foreground Color dialog

Posted by Stein Rørvik on Sep 17, 2020; 8:36pm
URL: http://imagej.273.s1.nabble.com/How-to-bring-up-the-Foreground-Color-dialog-tp5023959p5023963.html

Thank you, works great!

Stein

-----Original Message-----
From: ImageJ Interest Group <[hidden email]> On Behalf Of Wayne Rasband
Sent: 17. september 2020 21:11
To: [hidden email]
Subject: Re: How to bring up the Foreground Color dialog

> On Sep 17, 2020, at 7:53 AM, Stein Rørvik <[hidden email]> wrote:
>
> I wonder if there is any way to launch the set Foreground Color dialog (the one with three sliders/numbers) in the GUI besides first opening the color picker, and then double click a color? The same question applies to the Background Color dialog. Also, how to do this in a macro?
>
> What about adding entries named "Foreground..." and "Background..." for doing exactly this, above or below the "Color Picker" entry in the new and very useful right-click-menu of the color picker tool icon?

The ImageJ 1.53f1 daily build adds "Foreground..." and "Background…” items to the right-click-menu of the color picker tool icon.

> A related request:
> In the color picker, the name of the color is written as a copyable word like "black" or "red" in the bottom of the picker.
> What about making this editable, so that one can just type "red" to set the current foreground or background color to that?
> For the colors that do not match the predefined names, one could also here be allowed to type a hex triplet like #56b900.

I will work on this.
--
ImageJ mailing list: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fimagej.nih.gov%2Fij%2Flist.html&amp;data=02%7C01%7Cstein.rorvik%40sintef.no%7Cb993e3162f3a4bd7796d08d85b3e9e07%7Ce1f00f39604145b0b309e0210d8b32af%7C1%7C0%7C637359671799666560&amp;sdata=tvTBwcg0f%2FCmZXuQnVRM0MA9xDhL0gBqS9LDbwQXhmI%3D&amp;reserved=0

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html