add example for using an array for the color attribute