PantoneVerktyg

RGB to HSL

Konvertera RGB-färgvärden till HSL för intuitiv färgmanipulation och designsystem

Nyans, mättnad, ljusstyrka – den intuitiva färgmodellen för designers

Färgkonverterare

RGB Input

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

Klicka på färgprover för exempel

HSL Output

hsl(0°, 100%, 50%)

HSL Controls

Nyans
180° 360°
Mättnad 100%
0% 50% 100%
Lätthet 50%
0% 50% 100%

hsl(0°, 100%, 50%)

Ytterligare format

RGB Value

rgb(255, 0, 0)

HEX Value

#FF0000

Decimalvärde

16711680

CSS-användning

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

Färgpsykologi

Denna klarröda nyans har maximal mättnad och medelhög ljushet, vilket skapar en intensiv och energisk färg. Rött förknippas med passion, brådska och spänning i de flesta kulturer.

Konverteringsexempel

Livfull röd

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

Skogsgrön

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

Kunglig blå

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

Mjukt rosa

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

Djup lila

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

Varm grå

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

Rekommenderade verktyg

Om det här verktyget

Denna RGB till HSL-omvandlare överbryggar två viktiga färgmodeller som används i digital design, vilket gör det enklare att arbeta med färger på ett mer intuitivt sätt.

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:

  • Nyans: The color itself, represented as a degree (0-360) on a color wheel
  • Mättnad: The intensity or purity of the color (0-100%)
  • Lätthet: 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.

Vanliga frågor