added custom color support