这个工具做什么?
| 直接答案 | 十六进制转RGBA解码RGB通道加上一个可选的第8位alpha通道。 |
| 关键事实 | 8位十六进制#rrggbbaa编码alpha为0-255;0x80 ≈ 0.5透明度。 |
| 处理 | 在您的浏览器中本地运行;不会将数据发送到服务器。 |
如何使用
- 输入一个像#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。