code: public static Expression rgb(Generator generator, FunctionCall input) {
          return new Color(input.getExpectedIntParam(0), input.getExpectedIntParam(1), input.getExpectedIntParam(2));
      }
docs: Creates a color from given RGB values.
  
  @param generator the surrounding generator
  @param input     the function call to evaluate
  @return the result of the evaluation