ตัวแปลงสี

แปลงสีระหว่าง HEX, RGB, HSL และ CMYK

ทำงานในเบราว์เซอร์ของคุณ ไฟล์ไม่ออกจากอุปกรณ์ ดูวิธีตรวจสอบ

…

วิธีทำ

  1. 1
    กรอกช่อง

    พิมพ์ตัวเลขของคุณหรือเลือกตัวเลือกที่ต้องการ

  2. 2
    ดูผลลัพธ์

    คำตอบอัปเดตทันทีเมื่อคุณเปลี่ยนค่า

  3. 3
    นำไปใช้

    คัดลอกผลลัพธ์หรือจดไว้ ไม่มีอะไรถูกส่งไปที่ใด

About this tool

Type a colour as a hex code (#2563eb), as rgb(37, 99, 235) or as hsl(221, 83%, 53%). You get the same colour in HEX, RGB, HSL and CMYK, ready to copy into CSS or a design tool, plus a preview swatch.

When to use it

Convert colours between HEX, RGB, HSL and CMYK.

Tips

CMYK values are approximate on screen. Check proofs for print.

Privacy

Everything runs in your browser, so your data is not uploaded or stored.

Colour formats

HEX is a six digit code such as #2563EB, RGB gives red, green and blue from 0 to 255, HSL describes hue, saturation and lightness and CMYK is used in print. Web pages use HEX, RGB or HSL.

ตัวอย่างพร้อมวิธีทำ

With the boxes at their starting values (Colour (hex, rgb() or hsl()): #2563eb), the tool shows: RGB: rgb(37, 99, 235); HSL: hsl(221, 83%, 53%); CMYK: cmyk(84%, 58%, 0%, 8%); CSS: color: #2563EB;; HEX: #2563EB. Change any box to see your own numbers. The result updates as you type, and nothing leaves your browser.

เคล็ดลับเพื่อผลลัพธ์ที่ดีที่สุด

ตรวจสอบทุกช่องก่อนเชื่อผลลัพธ์ เพราะตัวเลขที่ผิดเพียงตัวเดียวทำให้คำตอบเปลี่ยนไปทั้งหมด ใช้ตัวเลขที่ตรงจากสลิปเงินเดือน ใบแจ้งหนี้ ใบรับรอง หรือสัญญา และจดวันที่ที่คุณคำนวณไว้ อัตรา เกณฑ์ และกฎเปลี่ยนแปลงเป็นครั้งคราว ดังนั้นสำหรับภาษี ค่าธรรมเนียม และเรื่องกฎหมาย ให้ถือผลลัพธ์เป็นค่าประมาณและตรวจสอบกับแหล่งข้อมูลทางการที่ระบุในหน้านี้ คุณลองได้กี่สถานการณ์ก็ได้ ไม่มีอะไรถูกบันทึกหรือส่ง การรีเฟรชหน้าจะล้างช่องกรอก

สรุปสั้น ๆ

ฝังเครื่องคิดเลขนี้ในเว็บไซต์ของคุณ

คัดลอกโค้ดนี้เพื่อแสดงเครื่องคิดเลขบนหน้าของคุณ มีลิงก์กลับไปยัง shobfree.com

คำถามที่พบบ่อย

Is CMYK exact?

No. The CMYK values are a simple calculation. Printers use colour profiles, so the printed colour can differ.

Can I use three-digit hex?

Yes. #f80 is read as #ff8800.

Is CMYK exact?

No. It depends on the printer profile.

What is HSL?

Hue, saturation and lightness.

How do I read a HEX code?

Each pair is red, green and blue in base 16. #FF0000 is pure red.

ฟรีทั้งหมดไม่มีค่าใช้จ่าย ไม่ต้องสมัคร
ไฟล์เป็นส่วนตัวทุกอย่างทำงานในเบราว์เซอร์ของคุณ
ใช้ง่ายในภาษาของคุณมีหลายภาษา