แปลงสีระหว่าง HEX, RGB และ HSL พร้อมตัวอย่างแบบเรียลไทม์
วิธีใช้ แปลงสี
ป้อนสีเป็น HEX เช่น #ff8800
ดูการแปลงเป็น RGB และ HSL ทันที
คัดลอกรูปแบบที่คุณต้องการ
This is a color converter for web and design work that translates a color between the three formats you use most: HEX, RGB and HSL, with a live swatch so you can see exactly what you are working with.
This is the everyday glue between design and code: matching a brand color from a mockup to a CSS variable, converting a value a designer gave you in one format to the one your framework wants, or finding a slightly lighter shade for a hover state.
Everything runs in your browser, so it is instant and nothing you enter is sent anywhere.
Each format describes the same color differently. HEX (like #ff8800) is the compact form used throughout CSS and HTML. RGB states the red, green and blue channels directly, which is how screens and code such as canvas think about color. HSL describes hue, saturation and lightness, which is far more intuitive when you want to nudge a color: change the hue to shift it around the wheel, or the lightness to make it darker without picking a new code by hand.
Enter a HEX value and the RGB and HSL equivalents update instantly, so you can grab whichever format the tool or codebase in front of you expects.
For now the tool focuses on opaque colors in HEX, RGB and HSL; alpha (opacity) support is not included yet.
คำถามที่พบบ่อย
HEX (#rgb หรือ #rrggbb), RGB และ HSL ป้อนค่า HEX แล้วค่าอื่นจะอัปเดตสด
ยังไม่รองรับ เครื่องมือนี้เน้น HEX, RGB และ HSL แบบทึบ สามารถเพิ่มการรองรับอัลฟาภายหลังได้
ฝังเครื่องมือนี้
เพิ่มเครื่องมือนี้ลงในเว็บไซต์ของคุณเอง คัดลอกสคริปต์ด้านล่าง โดยจะอัปเดตให้เป็นปัจจุบันโดยอัตโนมัติ
<iframe src="https://monu.tools/embed/th/color-converter" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>เครื่องมือที่เกี่ยวข้อง
แปลง Unix timestamp เป็นวันที่ที่อ่านได้และกลับกัน: UTC, ท้องถิ่น, ISO 8601 และเวลาสัมพัทธ์ ตรวจจับวินาทีและมิลลิวินาทีอัตโนมัติ
เข้ารหัสและถอดรหัสแบบเปอร์เซ็นต์สำหรับ URL และส่วนประกอบ URL ปลอดภัยกับ UTF-8
แปลง JSON เป็น CSV และ CSV กลับเป็น JSON ได้ทั้งสองทิศทาง เลือกตัวคั่น จัดการฟิลด์ที่มีเครื่องหมายอ้างอิง และคัดลอกผลลัพธ์ ทุกอย่างทำงานในเบราว์เซอร์ของคุณ
แปลง YAML เป็น JSON และ JSON กลับเป็น YAML ได้ทั้งสองทิศทาง ตรวจสอบความถูกต้องขณะแปลงและแสดงข้อผิดพลาดที่ชัดเจน ทุกอย่างทำงานในเบราว์เซอร์ของคุณ