<｜begin▁of▁sentence｜>### Instruction:
Given a graph where each vertex has label and color attributes, can you retrieve and print the list of vertex attribute names in the graph?
### Response:
import igraph as ig

# Example usage
# Create a directed graph with vertex attributes
g = ig.Graph(directed=True)
g.add_vertices(3)
g.vs['label'] = ['A', 'B', 'C']
g.vs['color'] = ['red', 'green', 'blue']

# Retrieve the list of vertex attribute names
vertex_attrs = g.vertex_attributes()

# Print the list of vertex attribute names
print(vertex_attrs)
<|EOT|>
