List of usage examples for java.awt Color RED
Color RED
To view the source code for java.awt Color RED.
Click Source Link
From source file:Main.java
public static void main(String[] args) { Color myColor = Color.RED; System.out.println(myColor.getBlue()); }
From source file:Main.java
public static void main(String[] args) { Color myColor = Color.RED; System.out.println(myColor.getRGB()); }
From source file:Main.java
public static void main(String[] args) { Color myColor = Color.RED; System.out.println(myColor.getTransparency()); }
From source file:Main.java
public static void main(String[] args) { Color myColor = Color.RED; System.out.println(myColor.toString()); }
From source file:Main.java
public static void main(String[] args) { Color myColor = Color.RED; System.out.println(myColor.getColorSpace().getNumComponents()); }
From source file:Main.java
public static void main(String[] args) { Color myColor = Color.RED; System.out.println(myColor.hashCode()); }
From source file:Main.java
public static void main(String[] args) { Color myColor = Color.RED; System.out.println(myColor.getGreen()); }
From source file:Main.java
public static void main(String[] args) { Color myColor = Color.RED; System.out.println(myColor.getAlpha()); }
From source file:Main.java
public static void main(String[] args) { Color myColor = Color.RED; System.out.println(myColor.getRed()); }
From source file:Main.java
public static void main(String[] args) { Color myColor = Color.RED; System.out.println(Arrays.toString(myColor.getRGBColorComponents(null))); }