Having problem in colors

Hi Aspose Team,



for setting up colors in Rectangels i am not getting to many colors

so can u tell me how to get more colors in java.



Thanks & Regards



Luvy



Dear Luvy,

You can create new colors in this way.

//All values should be in a range 0-255
int red = 50;
int green = 253;
int blue = 255;
int alpha = 60; //For transparency

java.awt.Color newColor = new Color(red, green, blue, alpha);

thanks its working