It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to gen开发者_JAVA技巧erate random,unique color code. Is there any algorithm ?
Random color = new Random();
Color randomColor = new Color(color.nextInt(256),color.nextInt(256),color.nextInt(256));
Ofcouse pedantically speaking, not assured to be random ;)
精彩评论