PantoneTools

RGB to HSL

Tukar nilai warna RGB kepada HSL untuk manipulasi warna intuitif dan sistem reka bentuk

Hue, Saturation, Lightness - model warna intuitif untuk pereka

Penukar Warna

RGB Input

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

Klik swatch warna untuk contoh

HSL Output

hsl(0°, 100%, 50%)

HSL Controls

Hue
180° 360°
Ketepuan 100%
0% 50% 100%
Keringanan 50%
0% 50% 100%

hsl(0°, 100%, 50%)

Format Tambahan

RGB Value

rgb(255, 0, 0)

HEX Value

#FF0000

Nilai Perpuluhan

16711680

Penggunaan CSS

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

Psikologi Warna

Merah terang ini mempunyai ketepuan maksimum dan kecerahan sederhana, menghasilkan warna yang sengit dan bertenaga. Merah dikaitkan dengan keghairahan, kesegeraan dan keseronokan dalam kebanyakan budaya.

Contoh Penukaran

Merah Bersemangat

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

Hijau Hutan

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

Biru Diraja

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

Merah Jambu Lembut

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

Ungu dalam

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

Kelabu Hangat

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

Alat yang Disyorkan

Mengenai Alat Ini

Penukar RGB ke HSL ini merapatkan dua model warna penting yang digunakan dalam reka bentuk digital, menjadikannya lebih mudah untuk bekerja dengan warna dengan cara yang lebih intuitif.

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:

  • Hue: The color itself, represented as a degree (0-360) on a color wheel
  • Ketepuan: The intensity or purity of the color (0-100%)
  • Keringanan: 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.

Soalan Lazim