break build color interpretation out into class and test