<｜begin▁of▁sentence｜>### Instruction:
As a Swim Instructor, imagine you're coaching a group of swimmers preparing for a synchronized swimming competition. You're tasked with ensuring each swimmer's swimsuit is uniquely colored to enhance their performance aesthetics. You've chosen a RainbowPalette provided by the swimwear design company, initialized with 100 vibrant colors. Now, you need to determine the total number of available colors in the RainbowPalette to allocate each swimmer a distinct hue. How would you ascertain the number of colors in the RainbowPalette using the igraph API?
### Response:
import igraph

# Create a RainbowPalette
palette = igraph.RainbowPalette(n=100)

# Get the number of colors in the palette
palette_size = len(palette)

print('Number of colors in the palette:', palette_size)
<|EOT|>
