-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
When copying colors from other apps (e.g. color pickers) it is simplest done by using the hex value.
I can't see that one can create a color from a hex/int value in JavaFX, so please add so the developer can write
Color.rgb(0xCAFEBABE)
Color.rgba(0xCAFEBABE)
Color.web("0xCAFEBABE") is not an alternative since it's slow in comparison, especially if one have the color in an int in the first place which is not uncommon.
I can't see that one can create a color from a hex/int value in JavaFX, so please add so the developer can write
Color.rgb(0xCAFEBABE)
Color.rgba(0xCAFEBABE)
Color.web("0xCAFEBABE") is not an alternative since it's slow in comparison, especially if one have the color in an int in the first place which is not uncommon.