- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 3.9k
 
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
 
What problem does this feature solve?
1.用户自定义颜色需求,用户可能需要根据个人喜好或品牌要求来定制界面元素的颜色,如按钮、文本、背景等。
2.增强用户体验,通过允许用户选择颜色,可以增加用户对应用的控制感和个性化体验,从而提升整体的使用满意度。
What does the proposed API look like?
<template>
<div class="color-picker-demo">
<ColorPicker />
</div>
</template>Api:
value:
- 类型:String
 - 说明:用于双向绑定颜色选择器的值,支持 HEX、RGB、HSL 等格式。
 - 示例:
v-model="selectedColorValue"
format: - 类型:String
 - 说明:指定颜色的显示格式,如 
hex、rgb、rgba、hsl等。 - 默认值:
rgb - 示例:
format="rgb"