Add support for giving items a color when calling injectItem

See #1931 and #1479
Code was based on #1479 but using EnumColor instead of an int.