linear_grad: performs a basic two-colour linear gradient.
multi_grad: creates a gradient involving any number of colours greater than two.
random_grad: creates a gradient involving any number of colours greater than two and randomizes the colour sequence.
literal_linear_grad: returns a list of colours that would create a gradient of two colours, but makes no actual gradient.
literal_multi_grad: returns a list of colours that would create a gradient of two or more colours, but makes no actual gradient.
hex_to_int/int_to_hex: converts 8-bit integers to hexadecimal values and back.
chomp_by_float: separates a string into a list of strings with a floating-point length as accurately as possible.
has_pueblo: up-to-date pueblo checking.