This function returns the anagrams of a given color.
Anagrams are made by rearranging the hexadecimal letter
pairs to form another color.
Usage
anagrams(color)
Arguments
color
an R color name or a color in hexadecimal
notation
Value
A character vector with the anagram colors of a given
color in hexadecimal notation
Details
An anagram is a word that is made by rearranging the
letters of another word. In this case, we have color
names instead of words, and hexadecimal letter-pairs
instead of single letters. For example, the color
"#CD1091" is composed by three pairs "CD", "10", and
"91". By rearranging these three pairs, we could obtain
an anagram like "#CD9110" or "#10CD91"