Changing the Color of Block with Python

I'm part of a basic MEL and Python scripting class and I'm having the hardest time just changing the color of some blocks.  I'm also trying to animate the color to change and I have no idea how to script it.

My block color problem:

cmds.select( all=True )

cmds.shadingNode( 'blinn', asShader=True)

cmds.sets( renderable=True, noSurfaceShader=True, empty=True, name='blinn1SG' )

cmds.setAttr( 'blinn1.color', 0.927, 0.38007, 0.863191, type='double3' )

cmds.connectAttr( 'blinn1.outColor', 'blinn1SG.surfaceShader' )

cmds.sets( e=True, forceElement='blinn1SG' )

Errors:

# Warning: Cannot add the following items to the set since the set has restrictions on membership: blinn1 #
# Warning: None of the items can be added to the set #

What am I doing wrong and how do I fix it?

Thank you!