Food dyes are used to give food a more appealing look. Many spices used in period cooking are also dyes and there usage gives many dishes a distinctive appearance.
See Also: http://www.pbm.com/~lindahl/articles/food_coloring_agents.htm