tweak amp to color ratio and protect against colors over 255