Java Random Color randomColorValue()

Here you can find the source of randomColorValue()

Description

random Color Value

License

Apache License

Declaration

private static int randomColorValue() 

Method Source Code

//package com.java2s;
//  Licensed under the Apache License, Version 2.0 (the "License");

public class Main {
    private static int randomColorValue() {
        return (int) (Math.random() * 255);
    }//from  w ww. j a  va 2 s  .  c  om
}

Related

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