Java tutorial
import java.awt.Color; public class Main { public static void main(String[] args) { System.setProperty("myColor", "0XFFFFFF"); Color myColor = Color.getColor("myColorNew", Color.RED); System.out.println(myColor); } }