Java Random Color randomColorFactor()

Here you can find the source of randomColorFactor()

Description

random Color Factor

License

Open Source License

Declaration

public static long randomColorFactor() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static long randomColorFactor() {
        return Math.round(Math.random() * 255);
    }/*from  w  ww  .  j ava  2  s  .  c o  m*/
}

Related

  1. randomColor()
  2. randomColor()
  3. randomColor(int idx)
  4. randomColor(int seed)
  5. randomColor(Random r)
  6. randomColorValue()
  7. randomColour(Random random)
  8. randomDarkColor()
  9. randomDesaturatedColor(float alpha)