What is the HSL code for moccasin?
The CSS color moccasin in HSL format is hsl(38.1, 100%, 85.5%). Use this value directly in CSS, SVG, and most design tools.
How do I use moccasin in CSS?
To apply moccasin in CSS:
- Text color: color: hsl(38.1, 100%, 85.5%);
- Background: background-color: hsl(38.1, 100%, 85.5%);
- Border: border-color: hsl(38.1, 100%, 85.5%);
What are all the color format values for moccasin?
| Format | Value |
|---|---|
| HEX | #ffe4b5 |
| RGB | rgb(255, 228, 181) |
| HSL | hsl(38.1, 100%, 85.5%) |
| CMYK | cmyk(0%, 10.6%, 29%, 0%) |
How do I convert moccasin to HSL?
Select moccasin from the color name list in our color converter. The HSL value — hsl(38.1, 100%, 85.5%) — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does moccasin belong to?
moccasin belongs to the orange color family. It is a light, vivid color with HSL values: hue 38.1°, saturation 100%, lightness 85.5%.
How do I create lighter and darker shades of moccasin?
Lighter variant (lightness 95%): #fff6e5. Darker variant (lightness 70.5%): #ffc869. 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.