code: public static Vector4f fromAWTColor(Color color) {
          return new Vector4f(color.getRed() / 255f, color.getGreen() / 255f, color.getBlue() / 255f, color.getAlpha() / 255f);
      }
docs: Converts an AWT {@link java.awt.Color} into a normalized float color.
  
  @param color The AWT color to convert
  @return The color as a 4 float vector