Added color interpolation to smooth out curved separators.