I want to create 2 ArrayList. One holding 16 colors, the other one holding 139.
I have the list with colors (both RGB as 255,126,32 and Hex as 0xFFFF2552). I want to use
You can also can use int[] colors = new int[]{color1.getRGB(),color2.getRGB()}; And decode using: Color color = new Color(colors[0]);
int[] colors = new int[]{color1.getRGB(),color2.getRGB()};
Color color = new Color(colors[0]);