HSL To RGB Color Conversion
Có thể bạn quan tâm
HSL to RGB color conversion
Enter hue in degrees (°), saturation and lightness (0..100%) and press the Convert button:
Enter hue (H): | ° |
Enter saturation (S): | % |
Enter lightness (L): | % |
RGB hex code (#): | |
Red color (R): | |
Green color (G): | |
Blue color (B): | |
Color preview: |
RGB to HSL conversion ►
HSL to RGB conversion formula
When 0 ≤ H < 360, 0 ≤ S ≤ 1 and 0 ≤ L ≤ 1:
C = (1 - |2L - 1|) × S
X = C × (1 - |(H / 60°) mod 2 - 1|)
m = L - C/2
(R,G,B) = ((R'+m)×255, (G'+m)×255,(B'+m)×255)
HSL to RGB color table
Color | Color name | (H,S,L) | Hex | (R,G,B) |
---|---|---|---|---|
Black | (0°,0%,0%) | #000000 | (0,0,0) | |
White | (0°,0%,100%) | #FFFFFF | (255,255,255) | |
Red | (0°,100%,50%) | #FF0000 | (255,0,0) | |
Lime | (120°,100%,50%) | #00FF00 | (0,255,0) | |
Blue | (240°,100%,50%) | #0000FF | (0,0,255) | |
Yellow | (60°,100%,50%) | #FFFF00 | (255,255,0) | |
Cyan | (180°,100%,50%) | #00FFFF | (0,255,255) | |
Magenta | (300°,100%,50%) | #FF00FF | (255,0,255) | |
Silver | (0°,0%,75%) | #BFBFBF | (191,191,191) | |
Gray | (0°,0%,50%) | #808080 | (128,128,128) | |
Maroon | (0°,100%,25%) | #800000 | (128,0,0) | |
Olive | (60°,100%,25%) | #808000 | (128,128,0) | |
Green | (120°,100%,25%) | #008000 | (0,128,0) | |
Purple | (300°,100%,25%) | #800080 | (128,0,128) | |
Teal | (180°,100%,25%) | #008080 | (0,128,128) | |
Navy | (240°,100%,25%) | #000080 | (0,0,128) |
RGB to HSL conversion ►
See also
- How to convert RGB to hex
- Hex to RGB converter
- RGB to HSL converter
Từ khóa » Hsl Colour Converter
-
Color Converter - W3Schools
-
Convert A Color – HEX, RGB, HSL, CMYK
-
RGB To HSL Converter | Color Conversion
-
RGB To HSL Color Converter - PEKO STEP
-
Hex To Hsl - Html Colors
-
HSL Color Picker - By Brandon Mathis
-
RGB To HSL | Colour Calculator | Hex Color Converter
-
Hex Color To Rgb, Hex To Cmyk And Hex To Hsl Conversion.
-
Convert Hex Color #18c944 To Rgb, Pantone, RAL, HSL, HSV, HSB ...
-
Color Converter, RGB To HEX
-
Best Free HEX To HSL Color Converter For You! - Free Online Tools
-
Convert HSL To CMYK - Colordesigner
-
HSL - 180°, 100%, 95% - Converting Colors