Use pseudo colors for coloring common prefixes with random colors

Previously, a callback was required by ElementGroup::get_children()
to generate a list of random colors, which was obtained from
ElementRenderer.