added a simple approach for color layers