What is the HSL code for cranberry?
The CSS color cranberry in HSL format is hsl(338, 100%, 31%). Use this value directly in CSS, SVG, and most design tools.
How do I use cranberry in CSS?
To apply cranberry in CSS:
- Text color: color: hsl(338, 100%, 31%);
- Background: background-color: hsl(338, 100%, 31%);
- Border: border-color: hsl(338, 100%, 31%);
What are all the color format values for cranberry?
| Format | Value |
|---|---|
| HEX | #9e003a |
| RGB | rgb(158, 0, 58) |
| HSL | hsl(338, 100%, 31%) |
| CMYK | cmyk(0%, 100%, 63.3%, 38%) |
How do I convert cranberry to HSL?
Select cranberry from the color name list in our color converter. The HSL value — hsl(338, 100%, 31%) — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does cranberry belong to?
cranberry belongs to the pink color family. It is a medium, vivid color with HSL values: hue 338°, saturation 100%, lightness 31%.
How do I create lighter and darker shades of cranberry?
Lighter variant (lightness 46%): #eb0056. Darker variant (lightness 16%): #52001e. 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.