RGB to HEX
แปลงค่าสี RGB เป็นรหัส HEX สำหรับการออกแบบเว็บและแอปพลิเคชันดิจิทัล
ตัวแปลงสี
HEX Output
HEX Value
รูปแบบเพิ่มเติม
RGB Value
rgb(255, 0, 0)
HSL Value
hsl(0°, 100%, 50%)
ค่าทศนิยม
16711680
การใช้งาน CSS
color: #FF0000;
ข้อมูลสี
สีแดงสดนี้เป็นสีหลักในแบบจำลอง RGB การแสดงค่าเลขฐานสิบหกใช้ค่าสูงสุดของสีแดง (FF) และค่าต่ำสุดของสีเขียวและสีน้ำเงิน (00)
ตัวอย่างการแปลง
สีแดงสดใส
ฟอเรสต์กรีน
รอยัลบลู
สีเหลืองแสงแดด
สีม่วงเข้ม
สีเทาอ่อน
เครื่องมือที่แนะนำ
เกี่ยวกับเครื่องมือนี้
ตัวแปลง RGB เป็น HEX นี้ช่วยลดความยุ่งยากของกระบวนการแปลงระหว่างรูปแบบสีดิจิทัลสองรูปแบบทั่วไปที่ใช้ในการออกแบบเว็บ การออกแบบกราฟิก และการพัฒนา
RGB (Red, Green, Blue) represents colors as combinations of three primary light sources, with each value ranging from 0 to 255. This model is used in digital displays, where light is emitted to create colors.
HEX (Hexadecimal) is a base-16 numbering system that condenses RGB values into a six-character string prefixed with a hash (#). Each pair of characters represents the intensity of red, green, and blue respectively, using values from 00 to FF.
HEX codes are particularly popular in web development because they're more compact than RGB values and easily recognized by all modern browsers. This conversion tool provides accurate translations between these formats, essential for consistent color implementation across digital projects.