# vue-color **Repository Path**: mirrors_hujiulong/vue-color ## Basic Information - **Project Name**: vue-color - **Description**: :art: Vue Color Pickers for Sketch, Photoshop, Chrome & more - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2025-12-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-color Color Pickers for Sketch, Photoshop, Chrome & more with Vue.js(vue2.0). ## [Live demo](http://xiaokaike.github.io/vue-color/) ![intro](./intro.png) ## Installation ### NPM ```bash $ npm install vue-color ``` ### CommonJS ```js var Photoshop = require('vue-color/src/Photoshop.vue'); new Vue({ components: { 'Photoshop': Photoshop } }) ``` ### ES6 ```js import { Photoshop } from 'vue-color' new Vue({ components: { 'photoshop-picker': Photoshop } }) ``` ### Browser globals The `dist` folder contains `vue-color.js` and `vue-color.min.js` with all components exported in the window.VueColor object. These bundles are also available on NPM packages. ```html ``` ## Local setup ``` npm install npm run dev ``` ## Usage ```js var defaultProps = { hex: '#194d33', hsl: { h: 150, s: 0.5, l: 0.2, a: 1 }, hsv: { h: 150, s: 0.66, v: 0.30, a: 1 }, rgba: { r: 25, g: 77, b: 51, a: 1 }, a: 1 } new Vue({ el: '#app', components: { 'material-picker': material, 'compact-picker': compact, 'swatches-picker': swatches, 'slider-picker': slider, 'sketch-picker': sketch, 'chrome-picker': chrome, 'photoshop-picker': photoshop }, data: { colors: defaultProps } }) ``` ```html ``` OR ```html ``` ## TODO -[] docs -[] more components ## License vue-color is licensed under [The MIT License](LICENSE).