> For the complete documentation index, see [llms.txt](https://spintowin.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spintowin.superiormc.cn/jian-ti-zhong-wen-2/gong-neng/color-code.md).

# 🎨颜色代码

## 十六进制颜色

使用 `&#` 加六位十六进制颜色值，例如：

```
&#ff0000红色文本
```

## 渐变色

使用以下格式包裹文本：

```
&<#起始颜色>文本&<#结束颜色>
```

例如：

```
&<#666666>SpinToWin&<#ffffff>
```
