implemented color gradients for all subdetectors