src/main/java/weathfold/partixel/api/PColor.java
/**
     * @param hex Color's hex representation in ARGB order
     */
@param hex Color's hex representation in ARGB order
@param hex Color ' s hex representation in ARGB order
public static PColor hex4(int hex) {
        int r = hex & 0xFF;
        int g = (hex >>> 8) & 0xFF;
        int b = (hex >>> 16) & 0xFF;
        int a = (hex >>> 24) & 0xFF;
        return rgba(r/255.0f, g/255.0f, b/255.0f, a/255.0f);
    }
public static PColor hex4 ( int hex ) { int r = hex & 0xFF ; int g = ( hex >>> 8 ) & 0xFF ; int b = ( hex >>> 16 ) & 0xFF ; int a = ( hex >>> 24 ) & 0xFF ; return rgba ( r / 255.0f , g / 255.0f , b / 255.0f , a / 255.0f ) ; }
@param hex Color's hex representation in ARGB order
@param hex Color ' s hex representation in ARGB order