public static Color shiftColorSpaceToFX(final int raw){
  final int r=((raw >> 16) & 255);
  final int g=((raw >> 8) & 255);
  final int b=((raw) & 255);
  return Color.rgb(r,g,b);
}

public static Color shiftColorSpaceToFX ( final int raw ) { final int r = ( ( raw > > 16 ) & 255 ) ; final int g = ( ( raw > > 8 ) & 255 ) ; final int b = ( ( raw ) & 255 ) ; return Color . rgb ( r , g , b ) ; }
performs a bitshift so we can use swing get srgb with javafx color .
