You can fix an attribute value by the 'fixed' attribute on the declaration:
<xs:attribute name="color" type="xs:string" fixed="blue"/>
You can also default the value by the 'default' attribute on the declaration:
<xs:attribute name="color" type="xs:string" default="blue"/>