Return the interpolated color along the spectrum for domain item. If the number is outside the bounds of the domain, then the nearest edge color is returned.
Color operator [](num number) => _colorAt(number);