color->depth (UNTESTED)