code: def translate_basic(usercode):
      
      codenum = get_code_num(codes['fore'][usercode])
      colorcode = codeformat(codenum)
      msg = 'Name: {:>10}, Number: {:>3}, EscapeCode: {!r}'.format(
          usercode,
          codenum,
          colorcode
      )
      if disabled():
          return msg
      return str(C(msg, fore=usercode))
docs: Translate a basic color name to color with explanation.