跳过主要内容

十六进制转RGBA

将带有alpha的十六进制颜色转换为rgba()值。

这个工具做什么?

直接答案十六进制转RGBA解码RGB通道加上一个可选的第8位alpha通道。
关键事实8位十六进制#rrggbbaa编码alpha为0-255;0x80 ≈ 0.5透明度。
处理在您的浏览器中本地运行;不会将数据发送到服务器。

如何使用

  1. 输入一个像#ff6347或#ff634780这样的十六进制颜色。\n点击转换。\n查看rgba()值。

示例

输入

#ff6347

输出

rgba(255, 99, 71, 1)

Who is this for?

This tool was built for people who need a fast answer in the browser — no install, no account, no data leaving the device.

Programmers working with low-level data, computer science students, and electronics hobbyists reading registers — anyone tired of converting number bases by hand.

常见问题

默认的alpha值是多少?

6位十六进制表示完全不透明:alpha 1。

#ff634780中的80代表什么?

0x80 = 128/255 ≈ 0.5透明度。

4位简写?

是的 — #f637扩展为#ff663377。

此分类中的更多工具