<｜begin▁of▁sentence｜>### Instruction:
Given a list of color names and RGBA quadruplets (e.g., ['red', 'green', 'blue', (255, 255, 0, 1)]), can you create a custom color palette in igraph using PrecalculatedPalette? You need to initialize the palette with these colors and print out the RGBA values.
### Response:
from igraph.drawing.colors import PrecalculatedPalette, color_name_to_rgba

# Define a list of colors by name or RGBA
color_list = ['red', 'green', 'blue', (255, 255, 0, 1)]

# Create a precalculated palette from the list
palette = PrecalculatedPalette(color_list)

# Print out the palette colors as RGBA
print([color_name_to_rgba(color) if isinstance(color, str) else color for color in color_list])
<|EOT|>
