Ruby to HEX — Color Code

HEX

#ca0147

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 HEX code for ruby?

The CSS color ruby in HEX format is #ca0147. 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: #ca0147;
  • Background: background-color: #ca0147;
  • Border: border-color: #ca0147;

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 HEX?

Select ruby from the color name list in our color converter. The HEX value — #ca0147 — 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 HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.