Java Color Green Get getGreenF(int col)

Here you can find the source of getGreenF(int col)

Description

get Green F

License

Open Source License

Declaration

public static float getGreenF(int col) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static float getGreenF(int col) {
        return (float) ((col & 0x0000ff00) >> 8) / 255;
    }/* www  .  ja  v a2s  . c  o m*/
}

Related

  1. getGreen(int c)
  2. getGreen(int parHex)