def METHOD_NAME(color="#FFF", font=None, n_colors=16, header=True, **options):
    """Helper function returned to create the styles file.
    Args:
        color: Color written for the 16 base colors.
        font: Font written.
        n_colors: Number of base colors to write.
        header. If False, omit the STYLE section header.
        options: Further style options passed.
    """
    filename = str(tmp_path / "style")
    if not header:
        return filename
    parser = configparser.ConfigParser()
    parser.add_section("STYLE")
    for i in range(n_colors):
        parser["STYLE"][f"base{i:02x}"] = color
    if font is not None:
        parser["STYLE"]["font"] = font
    for key, value in options.items():
        parser["STYLE"][key] = value
    with open(filename, "w", encoding="utf-8") as f:
        parser.write(f)
    return filename