Color.toWeb & Color.toHexString

Jim Graham james.graham at
Mon Jul 16 21:11:52 PDT 2012

I had similar questions to Rich, but I had one additional question:

On 7/10/2012 7:50 AM, Pavel Safrata wrote:
> public String toHexString()
> This method will return a string rrggbb without the leading hash. It
> will ignore opacity and will round the values to the nearest color that
> can be represented with such string. An example of use is displaying a
> web-based color value in a color picker.

Why ignore opacity?


More information about the openjfx-dev mailing list