Fixes color calculation for FX