Java Color Green Get getGreen(int parHex)

Here you can find the source of getGreen(int parHex)

Description

Get green from hex

License

Apache License

Declaration

public static int getGreen(int parHex) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    /**Get green from hex*/
    public static int getGreen(int parHex) {
        return (parHex >> 8) & 0xFF;
    }/*from w ww .ja v  a 2  s  .c  o  m*/
}

Related

  1. getGreen(int c)
  2. getGreenF(int col)