code: public Colorization getColorization (String className, String colorName)
      {
          ClassRecord crec = getClassRecord(className);
          if (crec != null) {
              int colorId = 0;
              try {
                  colorId = crec.getColorId(colorName);
              } catch (ParseException pe) {
                  log.info("Error getting colorization by name", "error", pe);
                  return null;
              }
  
              ColorRecord color = crec.colors.get(colorId);
              if (color != null) {
                  return color.getColorization();
              }
          }
          return null;
      }
docs: Looks up a colorization by class and color names.