vecmath uses import java.awt.Color; in classes Color3/4 f/b This ties it to awt but the usage of the import is trivial public final Color get() public final void set(Color color) This can be easily replaced Otherthan this in the entire porject the only import statement are in VecMathI18N import java.util.MissingResourceException; import java.util.ResourceBundle; which seems reasonable.