AbraCalc

ชื่อสี CSS เป็นรหัสฐานสิบหก

ค้นหาค่าฐานสิบหกของชื่อสี CSS ใดๆ (เช่น 'tomato', 'steelblue', 'rebeccapurple')

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

APA

AbraCalc. (2026). ชื่อสี CSS เป็นรหัสฐานสิบหก [Online calculator]. Retrieved from https://abracalc.com/th/plaeng-chuesi-hex/

BibTeX

@misc{abracalc-plaeng-chuesi-hex, author = {AbraCalc}, title = {ชื่อสี CSS เป็นรหัสฐานสิบหก}, year = {2026}, howpublished = {\url{https://abracalc.com/th/plaeng-chuesi-hex/}} }

เครื่องมือนี้ตอบคำถามของคุณหรือไม่

วิธีใช้เครื่องมือนี้

  1. พิมพ์ชื่อสี CSS (เช่น steelblue, tomato, coral)
  2. เครื่องมือจะค้นหาในรายชื่อสีมาตรฐานของ W3C และแสดงค่าฐานสิบหกและค่า RGB
  3. ชื่อสีไม่สนตัวพิมพ์เล็ก-ใหญ่และไม่สนใจช่องว่าง

ค้นหาค่าฐานสิบหกที่แม่นยำสำหรับชื่อสี CSS กว่า 140 สี พิมพ์ชื่อสีเพื่อรับรหัสฐานสิบหกและค่า RGB ได้ทันที

สูตร

This is a direct lookup, not a formula. The CSS Color Level 4 specification defines 148 named colors, each mapped to a fixed sRGB triplet. For example:

tomato → #ff6347 → rgb(255, 99, 71)

The R, G, B values are extracted from the hex: R = hex[1..2], G = hex[3..4], B = hex[5..6] (parsed as base-16 integers).

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

สี CSS ที่มีชื่อเรียกมีทั้งหมดกี่สี?
CSS กำหนดชื่อสีไว้ 140 สี (บวกกับ 'transparent') ตั้งแต่สีพื้นฐาน 16 สี (สี VGA) ไปจนถึงรายชื่อสี X11 ทั้งหมด
rebeccapurple คืออะไร?
rebeccapurple (#663399) ถูกเพิ่มเข้าไปใน CSS4 เพื่อรำลึกถึง Rebecca Meyer ลูกสาวของ Eric Meyer สมาชิกคณะทำงาน CSS

แหล่งอ้างอิง