Java tutorial
import java.awt.Color; public class Main { public static void main(String[] args) { Color myColor = Color.RED; System.out.println(myColor.getTransparency()); } }