Add layername colorizer function.