# @tucy/vue-color

> 🎨 Vue Color Pickers for Sketch, Photoshop, Chrome & more.(base vue3.0)

Latest version **0.0.2** (published 2021-06-18) · 0 weekly downloads

## Install

```sh
npm install @tucy/vue-color
pnpm add @tucy/vue-color
yarn add @tucy/vue-color
bun add @tucy/vue-color
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2021-06-18 |
| First published | 2021-06-18 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=12 |
| Dependencies | 0 |
| Unpacked size | 341.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | tuchongyang |
| Keywords | vue-color, color, vuejs |

## Links

- npm: https://www.npmjs.com/package/@tucy/vue-color
- Repository: https://github.com/tuchongyang/vue-color
- Homepage: https://github.com/tuchongyang/vue-color#readme
- Issues: https://github.com/tuchongyang/vue-color/issues
- npm.io page: https://npm.io/package/@tucy/vue-color

## Alternatives

- [postcss-color-hex-alpha](https://npm.io/package/postcss-color-hex-alpha.md) — 6.4M weekly downloads
- [randomcolor](https://npm.io/package/randomcolor.md) — 348.0K weekly downloads
- [bows](https://npm.io/package/bows.md) — 1.3K weekly downloads
- [ep_prefer_color_scheme](https://npm.io/package/ep_prefer_color_scheme.md) — 260 weekly downloads
- [coc-yank](https://npm.io/package/coc-yank.md) — 61 weekly downloads

## Recent versions

- 0.0.2 (latest) — 2021-06-18
- 0.0.1 — 2021-06-18

## README

# vue-color
 🎨 Vue Color Pickers for Sketch, Photoshop, Chrome &amp; more.(base vue3.0)


> Modified based on [https://github.com/xiaokaike/vue-color](https://github.com/xiaokaike/vue-color) to support vue3.0

ðŸŽ¨ Vue Color Pickers for Sketch, Photoshop, Chrome & more

![image](https://user-images.githubusercontent.com/30174970/114983369-1e5aa380-9ec3-11eb-9e77-b122d19f1ebd.png)



## Example
```js
<Sketch v-model="colors"/>

import { Sketch } from '@ckpack/vue-color';

let colors = {
  hex: '#194d33',
  hex8: '#194D33A8',
  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
};
// or
let colors = '#194d33';
// or
let colors = '#194D33A8';
// or 
let colors = { h: 150, s: 0.66, v: 0.30 };
// or 
let colors = { r: 255, g: 0, b: 0 };
// etc...

new Vue({
  components: {
    Sketch,
  },
  data () {
    return {
      colors,
    };
  },
});
```
## License

vue-color is licensed under [The MIT License](LICENSE).

---
_Source: https://npm.io/package/@tucy/vue-color · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
