Added a helper method that converts a hex color into JavaFX Color