A tiny Vue component for picking colors
Inspired by react-colorful
- v-model (hex, rgb, hsv, hsl, cmyk)
- Add support for color string input
- Typed
- Better style
- vitest
- docs
npm install vue3-colorful
<script setup>
import ColorPicker from 'vue3-colorful'
import 'vue3-colorful/dist/style.css'
const color = ref('')
</script>
<template>
<ColorPicker v-model="color" />
</template>
MIT