Hsl To Rgb
Calculator
Results
- Red (0-255)
- 44.625
- Green (0-255)
- 127.499999
- Blue (0-255)
- 210.375
Design and print results
| Red (0-255) | 44.625 |
| Green (0-255) | 127.499999 |
| Blue (0-255) | 210.375 |
formula-map diagram
- Red (0-255)
- 44.625
- Green (0-255)
- 127.499999
- Blue (0-255)
- 210.375
Formula breakdown
Formula
standard CSS HSL → RGB conversion (hue2rgb piecewise function)= 44.625
Note
Simplified model: these are standard prepress and typographic relationships computed on nominal values. Real press bulk, paper caliper and shrinkage, ink limits for a given profile, font metrics and binding allowances vary by supplier and by job, so confirm with your printer and a proof before going to press.
Example: with the default inputs, calculator.design.red_255 is 44.625000000000014.
More in Design and printing
See all →Frequently asked questions
How do I convert HSL to RGB?+
Enter the hue in degrees, then saturation and lightness in percent. The calculator applies the standard CSS HSL to RGB conversion and returns red, green and blue on a 0 to 255 scale.
What range should the hue be in?+
Hue is an angle in degrees, and the calculator divides it by 360. Use 0 to 360 for predictable results, with 0 as red, 120 as green and 240 as blue.
What happens when saturation is 0%?+
With zero saturation there is no color, so red, green and blue all equal the lightness scaled to 255. You get a pure gray from black (0%) to white (100%).
Are the RGB results whole numbers?+
No. The red, green and blue values are shown unrounded on a 0 to 255 scale. Round them to the nearest whole number if you need a hex code or an rgb() value.
Which formula does it use?+
It computes q from lightness and saturation, then p = 2 × lightness − q, and a piecewise hue function gives each channel. This is the same HSL conversion described in the CSS color specification.