Skip to contents

Get color code of factions.

Usage

get_faction_color(input_id, id_type = "number")

Arguments

input_id

A character indicating the ID of the faction.

id_type

A character indicating the type of the input_id, either "number" (ID of the faction) or "faction_name" (abbreviated name of the faction). Default is "number".

Value

A (named) character yielding a hexadecimal color code.