Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ColorUtils{
- static Random randomizer = new Random();
- static final int max = 255;
- static Color randomColor(){
- return new Color(randomizer.nextInt((max-0)+1)+ 0, randomizer.nextInt((max-0)+1)+ 0, randomizer.nextInt((max-0)+1)+ 0);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement