question: 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 ) ) ; }
target:  Get a darker shade of an input color.