### 颜色

设置组件的颜色

<!--start-code-->

```js
const instance = (
  <div>
    <div>
      <Rate defaultValue={5} color="red" />
    </div>
    <div>
      <Rate defaultValue={4} color="orange" />
    </div>
    <div>
      <Rate defaultValue={3} color="yellow" />
    </div>
    <div>
      <Rate defaultValue={2} color="green" />
    </div>
    <div>
      <Rate defaultValue={3} color="cyan" />
    </div>
    <div>
      <Rate defaultValue={4} color="blue" />
    </div>
    <div>
      <Rate defaultValue={5} color="violet" />
    </div>
  </div>
);

ReactDOM.render(instance);
```

<!--end-code-->
