RGB(0, 128, 0) to HSL (Green)
RGB(0, 128, 0) converts to HSL(120°, 100%, 25%), the standard HTML green color.
How to use this tool
- Enter red, green, and blue values (each 0–255).
- The tool calculates hue (0–360°), saturation (0–100%), and lightness (0–100%).
- Use the hsl() result directly in CSS.
Web green (RGB 0, 128, 0) maps to hsl(120, 100%, 25%) — a deeply saturated, medium-dark green.
Frequently asked questions
- What is HSL?
- HSL stands for Hue, Saturation, Lightness. It represents colors in a cylindrical model, making it more intuitive than RGB for adjusting brightness and saturation.
- What range does hue use?
- Hue is measured in degrees from 0 to 360, where 0/360 is red, 120 is green, and 240 is blue.