Copy fixes from ab257e79501628190a3f7853df88da647a5cbef2

Also use Color.fromRandom in this example.