public static int darker(int c){
  return rgba(Math.max(0,(int)(scale * red(c))),Math.max(0,(int)(scale * green(c))),Math.max(0,(int)(scale * blue(c))),alpha(c));
}

public static int darker ( int c ) { return rgba ( Math . max ( 0 , ( int ) ( scale * red ( c ) ) ) , Math . max ( 0 , ( int ) ( scale * green ( c ) ) ) , Math . max ( 0 , ( int ) ( scale * blue ( c ) ) ) , alpha ( c ) ) ; }
get a darker shade of an input color .
