HSL(300°, 100%, 50%) to RGB (Magenta)
HSL(300°, 100%, 50%) converts to RGB(255, 0, 255), which is pure magenta.
How to use this tool
- Enter the hue (0–360°), saturation (0–100%), and lightness (0–100%).
- The tool outputs the equivalent red, green, and blue values (0–255).
- Copy the rgb() string into CSS or read the individual R, G, B numbers.
A hue of 300° at full saturation and 50% lightness produces pure magenta: RGB(255, 0, 255).
Frequently asked questions
- How does HSL to RGB conversion work?
- The algorithm converts saturation/lightness to intermediate values, then maps the hue angle to separate R, G, B channels using a piecewise function.
- What is hsl(120, 100%, 50%)?
- That is pure green: rgb(0, 255, 0).