从图片获取HEX颜色代码

点击图片中的任意像素,即可立即获取精确的HEX颜色代码。直接复制到CSS、Figma、Photoshop等设计工具中使用。

100% Free100% PrivateInstant ResultsNo Sign-up
100%

颜色信息

点击图片选择颜色

颜色将显示在这里

调色板

No data is sent. The magic happens in your browser.

How It Works

1

Upload Your Image

Drag and drop, paste from clipboard, choose a file, or load from URL. Supports PNG, JPG, WebP, and more.

2

Click to Pick Colors

Click anywhere on the image to sample the exact color at that pixel. The color panel updates instantly.

3

Copy & Use

Copy HEX, RGB, HSL, or CMYK values with one click. Use them directly in your CSS, design tools, or presentations.

什么是HEX颜色代码?

HEX颜色代码是用六位十六进制数值表示的颜色(如#FF5733),是网页开发和设计软件中最常用的颜色格式。

Why Choose This Tool?

Pixel-Perfect Picking

Click on any pixel to get its exact color value — no guessing, no approximation.

8 Color Formats

HEX, RGB, HSL, CMYK, LAB, XYZ, LUV, and HWB — all at your fingertips.

Palette Generation

Automatically extract dominant colors from any image using smart clustering.

Privacy First

Everything runs in your browser. No images are uploaded to any server, ever.

常见问题

如何从图片获取HEX代码?

上传图片后,点击任意像素,HEX代码即时显示。

这个HEX提取器是免费的吗?

是的,完全免费,无需注册。