presto-main/src/main/java/io/prestosql/operator/scalar/ColorFunctions.java/ColorFunctions/getGreen
class ColorFunctions:    @VisibleForTesting
    static int getGreen(long color)
    {
        checkCondition(color >= 0, INVALID_FUNCTION_ARGUMENT, "color is not a valid rgb value");

        return (int) ((color >>> 8) & 0xff);
    }