title: How to get hex web String from JavaFX ColorPicker color?
body: <p>I have Color chosen in JavaFX ColorPicker. Now I need to save it as hex string. I found <a href="http://www.javacreed.com/how-to-get-the-hex-value-from-color/" rel="noreferrer">this</a> method, but for JavaFX it is not applicable. JavaFX has its own Color class without getRGB() method, that could be used as mediatory convertion.</p>