vue3colorthief
v0.0.2
Published
vue 3 wrapper for colorthief
Downloads
2
Readme
Vue 3 composable for colorthief
usage
Install:
npm i vue3colorthief
import useColorThief from "vue3colorthief";
const imageSource = ref(null);
const { palette, dominantcolor, paletteSize } = useColorThief(imageSource);
Demo: https://colorpalettegen.netlify.app/