JavaFX show RGB value for pixel in ImageView
<p>I am trying to make an application which holds many elements in its GUI and I am using JavaFX to make one. I've stumbled upon a problem, that I can't really detect when a pixel in ImageView is being hovered over with a mouse.</p>

<p>I've tried with CSS for hbox that contains:</p>

<pre><code>#hbox:hover {
-fx-background-color: #FFFFFF;
}
</code></pre>

<p>and... I know it's stupid, but at least tried that:</p>

<pre><code>if (hboxImage != null /*&amp;&amp; hboxImage.isHover()*/) {
            hboxImage.setOnMouseClicked(event -&gt; {
                double i = hboxImage.getX();
                double j = hboxImage.getY();
                System.out.println("i: " + i + " j: " + j);
            });
        }
</code></pre>

<p>I know that doesn't do closely what I do I need to do, but that's the only good I've found for hovering.</p>

<p>I am thinking of creating some sort of table or grid on top of the ImageView to show me RGB color from array, but that doesn't seem to be right.</p>

<p>Is there any way in JavaFX to detect mouse hovering event on every pixel of an ImageView (or any other view for it matters)?</p>