code: @Override
      public void onAutoHide() {
          ColorPicker colorPicker = (ColorPicker) getControl();
          JFXColorPickerSkin cpSkin = (JFXColorPickerSkin) colorPicker.getSkin();
          cpSkin.syncWithAutoUpdate();
          if (!colorPicker.isShowing()) {
              super.onAutoHide();
          }
      }
docs: ************************************************************************
  *
  Mouse Events handling (when losing focus)                              *
  *
  ***********************************************************************