core: exported dprint_term_color() function