Question

In ImageJ ROI manager one can define a color by name (green, yellow, magneta, etc). I have been struggling to find a list of allowed color names. Does anybody know where to find a comprehensive list of color names used by ImageJ?

Was it helpful?

Solution

In the ROI manager documentation of the ImageJ User Guide, it is written:

The nine default selection colors (black, blue, cyan, green, magenta, orange, red, white, yellow) can be typed textually.

The same can be found in the source code: the RoiProperties dialog uses the ij.plugin.Colors class to set the stroke color.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top