Added functions for mapping color structures