CSS 與色彩
Color Converter
Convert colors between Hex, RGB, HSL, and OKLCH with a live swatch and hue slider.
Hex
RGB
HSL
OKLCH
為什麼用這個工具
03Parse and convert colors across Hex, RGB, HSL, and OKLCH formats with full D65 color math.
Color Converter auto-detects the input format and converts to Hex, RGB, HSL, and OKLCH simultaneously.
Use the hue slider to explore hue variations while preserving lightness and chroma.
怎麼使用
03複製前快速檢查
03先确认输入格式符合你的预期。
在把结果用于文档、链接、配置或消息前快速扫一眼。
只复制你真正需要的输出。
常見問題
03
What formats are supported?
Hex (#rgb, #rrggbb, #rrggbbaa), rgb(), rgba(), hsl(), hsla(), and oklch().
What is OKLCH?
OKLCH is a perceptually uniform color model defined by lightness, chroma, and hue. It is widely supported in modern CSS.
Does the hue slider change the input?
No. It adjusts only the displayed color by rotating the hue channel in OKLCH space while keeping lightness and chroma constant.
相關工具
02Hash Generator→
Generate SHA-1, SHA-256, and SHA-512 hashes.
Length Unit Converter→
Convert between common length units like km, mi, ft, and m.