\darker is a color modifier used to decrease a particular color given in argument. It returns another color object which is 10% darker than the original one. It can be used inside the filling operator (\fill) to modify one of the two defined color (front or back). As the returned type is the same of one of the argument this operator can be used on the result of itself.
\fill(\darker(back), a, b, c); % darker than 'back' color \fill(\darker(\darker(back)), a, d, c); % darker again
\darker(COLOR);
COLOR Description : Indicates which color has to be modified. Type : Color type. Allowed values : One value of [back, front] and the return of \darker or \lighter operator.