public byte[] asBytesRGBA() {
        byte[] store = new byte[4];
        store[0] = (byte) ((int) (r * 255) & 0xFF);
        store[1] = (byte) ((int) (g * 255) & 0xFF);
        store[2] = (byte) ((int) (b * 255) & 0xFF);
        store[3] = (byte) ((int) (a * 255) & 0xFF);
        return store;
    }
Retrieves the component values of this <code>ColorRGBA</code> as
a four element <code>byte</code> array in the order: r,g,b,a.

@return the <code>byte</code> array that contains the color components.
jme3-core/src/main/java/com/jme3/math/ColorRGBA.java