Pantone工具

HEX 转 RGB

精确地将十六进制颜色代码转换为 RGB 值,这对于数字设计和 Web 开发至关重要

颜色转换器

#

Enter a 6-character hex code (without the #)

点击颜色样本查看示例

颜色结果

RGB Values

红色的 255

0-255 intensity range

绿色的 255

0-255 intensity range

蓝色的 255

0-255 intensity range

RGB Formats

rgb(255, 255, 255)

rgba(255, 255, 255, 1.0)

转换示例

红色的

HEX: #FF0000

RGB: 255, 0, 0

绿色的

HEX: #00FF00

RGB: 0, 255, 0

蓝色的

HEX: #0000FF

RGB: 0, 0, 255

黄色的

HEX: #FFFF00

RGB: 255, 255, 0

品红

HEX: #FF00FF

RGB: 255, 0, 255

青色

HEX: #00FFFF

RGB: 0, 255, 255

推荐工具

关于此工具

我们的 HEX 到 RGB 转换器可以精确地将十六进制颜色代码转换为 RGB(红、绿、蓝)值,这是数字显示、网页设计和数字成像的标准颜色模型。

HEX color codes are a compact way to represent RGB colors using hexadecimal notation. Each pair of characters in a HEX code corresponds to the intensity of red, green, and blue components respectively, ranging from 00 (0 intensity) to FF (full intensity).

RGB is an additive color model where colors are created by combining varying intensities of red, green, and blue light. This model is fundamental to digital displays, as most screens use red, green, and blue pixels to create all visible colors.

此转换工具对于使用数字媒体颜色的 Web 开发人员、设计师和数字艺术家来说至关重要,它可以提供紧凑的 HEX 格式和更易于人类阅读的 RGB 值之间的准确转换。

常见问题