Ruby to HSL — Color Code

HSL

hsl(339.1, 99%, 39.8%)

Format Value
HEX #ca0147
RGB rgb(202, 1, 71)
HSL hsl(339.1, 99%, 39.8%)
CMYK cmyk(0%, 99.5%, 64.9%, 20.8%)

What is the HSL code for ruby?

The CSS color ruby in HSL format is hsl(339.1, 99%, 39.8%). Use this value directly in CSS, SVG, and most design tools.

How do I use ruby in CSS?

To apply ruby in CSS:

  • Text color: color: hsl(339.1, 99%, 39.8%);
  • Background: background-color: hsl(339.1, 99%, 39.8%);
  • Border: border-color: hsl(339.1, 99%, 39.8%);

What are all the color format values for ruby?

FormatValue
HEX#ca0147
RGBrgb(202, 1, 71)
HSLhsl(339.1, 99%, 39.8%)
CMYKcmyk(0%, 99.5%, 64.9%, 20.8%)

How do I convert ruby to HSL?

Select ruby from the color name list in our color converter. The HSL value — hsl(339.1, 99%, 39.8%) — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does ruby belong to?

ruby belongs to the pink color family. It is a medium, vivid color with HSL values: hue 339.1°, saturation 99%, lightness 39.8%.

How do I create lighter and darker shades of ruby?

Lighter variant (lightness 54.8%): #fe1a69. Darker variant (lightness 24.799999999999997%): #7e012c. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HSL used for?

HSL describes colors by hue (0–360°), saturation (0–100%) and lightness (0–100%). It is more intuitive for designers — easy to create lighter, darker or less saturated variants of any color.