public static ColorRGBA randomColor() {
        ColorRGBA rVal = new ColorRGBA(0, 0, 0, 1);
        rVal.r = FastMath.nextRandomFloat();
        rVal.g = FastMath.nextRandomFloat();
        rVal.b = FastMath.nextRandomFloat();
        return rVal;
    }
<code>randomColor</code> is a utility method that generates a random
opaque color.

@return a random <code>ColorRGBA</code> with an alpha set to 1.
jme3-core/src/main/java/com/jme3/math/ColorRGBA.java