Convert a colour as a character string into an integer value representing RGBA

colour_to_integer(colour)

Arguments

colour

character vector of R colour names (including hex colours)