What is the HSL code for mocha?
The CSS color mocha in HSL format is hsl(29.2, 31.9%, 46.7%). Use this value directly in CSS, SVG, and most design tools.
How do I use mocha in CSS?
To apply mocha in CSS:
- Text color: color: hsl(29.2, 31.9%, 46.7%);
- Background: background-color: hsl(29.2, 31.9%, 46.7%);
- Border: border-color: hsl(29.2, 31.9%, 46.7%);
What are all the color format values for mocha?
| Format | Value |
|---|---|
| HEX | #9d7651 |
| RGB | rgb(157, 118, 81) |
| HSL | hsl(29.2, 31.9%, 46.7%) |
| CMYK | cmyk(0%, 24.8%, 48.4%, 38.4%) |
How do I convert mocha to HSL?
Select mocha from the color name list in our color converter. The HSL value — hsl(29.2, 31.9%, 46.7%) — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does mocha belong to?
mocha belongs to the orange color family. It is a medium, moderately saturated color with HSL values: hue 29.2°, saturation 31.9%, lightness 46.7%.
How do I create lighter and darker shades of mocha?
Lighter variant (lightness 61.7%): #bc9d7e. Darker variant (lightness 31.700000000000003%): #6b5037. 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.