[Bugfix] didn't resolve coderef color in theme_color_to_ansi