public String toWeb() {
        return Integer.toHexString(this.toInteger());
    }
Helper class for working with colors and gradients

@author Anthyon
jme3-terrain/src/main/java/com/jme3/terrain/noise/Color.java