项目作者: hankchiutw

项目描述 :
A Chrome extension that makes you pick up any pixel color from a web page
高级语言: TypeScript
项目地址: git://github.com/hankchiutw/any-color.git
创建时间: 2020-05-15T00:09:05Z
项目社区:https://github.com/hankchiutw/any-color

开源协议:Apache License 2.0

下载



AnyColor


Commitizen friendly
Chrome extension
package.json version



AnyColor demo

A Chrome extension that makes you pick up any pixel color from a web page.

  • Inspired from Chrome devtool’s color picker.
  • Toggle the color inspector by Ctrl+Shift+A (Command+Shift+A for mac).
  • Click and copy the color hex.

Why?

Most of the color picker extensions have these drawbacks:

  • Most of them are aimed at picking DOM colors. Can not pick colors from an image.
  • Not efficient when users only want to pick colors.

How to use

Install the extension and toggle the color inspector by Ctrl+Shift+A (Command+Shift+A for mac). That’s it.

How it works

Mainly it uses captureVisibleTab API to the take the page screenshot. The image data is then rasterized and pixel colors are ready to use.

License

Apache2 License © hankchiu.tw