เครื่องมือแพนโทน

RGB to HSL

แปลงค่าสี RGB เป็น HSL เพื่อการจัดการสีและระบบการออกแบบที่ใช้งานง่าย

เฉดสี ความอิ่มตัว ความสว่าง - โมเดลสีที่ใช้งานง่ายสำหรับนักออกแบบ

ตัวแปลงสี

RGB Input

255
0 128 255
0
0 128 255
0
0 128 255

คลิกตัวอย่างสีเพื่อดูตัวอย่าง

HSL Output

hsl(0°, 100%, 50%)

HSL Controls

เฉดสี
180° 360°
ความอิ่มตัว 100%
0% 50% 100%
ความเบาสบาย 50%
0% 50% 100%

hsl(0°, 100%, 50%)

รูปแบบเพิ่มเติม

RGB Value

rgb(255, 0, 0)

HEX Value

#FF0000

ค่าทศนิยม

16711680

การใช้งาน CSS

color: hsl(0°, 100%, 50%);

จิตวิทยาสี

สีแดงสดนี้มีความอิ่มตัวสูงสุดและความสว่างปานกลาง ทำให้เกิดสีที่เข้มข้นและมีพลัง สีแดงมักสัมพันธ์กับความหลงใหล ความเร่งรีบ และความตื่นเต้นในวัฒนธรรมส่วนใหญ่

ตัวอย่างการแปลง

สีแดงสดใส

RGB 255, 0, 0
HSL 0°, 100%, 50%
HEX #FF0000

ฟอเรสต์กรีน

RGB 34, 139, 34
HSL 120°, 61%, 34%
HEX #228B22

รอยัลบลู

RGB 65, 105, 225
HSL 225°, 73%, 56%
HEX #4169E1

สีชมพูอ่อน

RGB 255, 192, 203
HSL 350°, 100%, 88%
HEX #FFC0CB

สีม่วงเข้ม

RGB 128, 0, 128
HSL 300°, 100%, 25%
HEX #800080

สีเทาอุ่น

RGB 169, 169, 169
HSL 0°, 0%, 66%
HEX #A9A9A9

เครื่องมือที่แนะนำ

เกี่ยวกับเครื่องมือนี้

ตัวแปลง RGB เป็น HSL นี้เชื่อมโยงโมเดลสีสำคัญสองแบบที่ใช้ในงานออกแบบดิจิทัล ทำให้ทำงานกับสีได้ง่ายยิ่งขึ้นในรูปแบบที่ใช้งานง่ายยิ่งขึ้น

RGB (Red, Green, Blue) is an additive color model where colors are created by combining light. This system is used for digital displays, with each component ranging from 0 to 255.

HSL (Hue, Saturation, Lightness) represents colors in a way that aligns more naturally with human perception:

  • เฉดสี: The color itself, represented as a degree (0-360) on a color wheel
  • ความอิ่มตัว: The intensity or purity of the color (0-100%)
  • ความเบาสบาย: How light or dark the color is (0-100%)

HSL is particularly valuable for creating color systems and palettes, as it allows for intuitive adjustments. For example, you can easily create tints by reducing saturation or shades by adjusting lightness while maintaining the same hue. This converter provides accurate translations between RGB and HSL, essential for consistent color implementation across digital projects.

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