成功响应(200):
{
"code": 200,
"msg": "成功",
"data": {
"input": {
"hex": "#FF5733",
"name": "红色系",
"rgb": {
"r": 255,
"g": 87,
"b": 51
},
"hsl": {
"h": 11,
"s": 100,
"l": 60
}
},
"palettes": [
{
"name": "单色配色",
"description": "基于同一色相,通过调整明度和饱和度创建的和谐配色方案",
"colors": [
{
"hex": "#FF5733",
"name": "主色",
"role": "primary",
"theory": "基础色相"
},
{
"hex": "#B33D24",
"name": "深色变体",
"role": "dark",
"theory": "降低明度"
}
]
},
{
"name": "互补配色",
"description": "使用色轮上相对的颜色,创造强烈对比和视觉冲击力",
"colors": [
{
"hex": "#FF5733",
"name": "主色",
"role": "primary",
"theory": "基础色相"
},
{
"hex": "#33A8FF",
"name": "互补色",
"role": "complementary",
"theory": "色轮对面 +180°"
}
]
}
],
"metadata": {
"color_theory": "基于色彩理论生成的专业配色方案",
"total_palettes": 6,
"applications": [
"Web设计",
"UI\/UX",
"品牌设计",
"室内设计",
"服装搭配"
]
}
}
}