What is the HSL code for ocre?
The CSS color ocre in HSL format is hsl(47, 96%, 39.6%). Use this value directly in CSS, SVG, and most design tools.
How do I use ocre in CSS?
To apply ocre in CSS:
- Text color: color: hsl(47, 96%, 39.6%);
- Background: background-color: hsl(47, 96%, 39.6%);
- Border: border-color: hsl(47, 96%, 39.6%);
What are all the color format values for ocre?
| Format | Value |
|---|---|
| HEX | #c69c04 |
| RGB | rgb(198, 156, 4) |
| HSL | hsl(47, 96%, 39.6%) |
| CMYK | cmyk(0%, 21.2%, 98%, 22.4%) |
How do I convert ocre to HSL?
Select ocre from the color name list in our color converter. The HSL value — hsl(47, 96%, 39.6%) — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does ocre belong to?
ocre belongs to the yellow color family. It is a medium, vivid color with HSL values: hue 47°, saturation 96%, lightness 39.6%.
How do I create lighter and darker shades of ocre?
Lighter variant (lightness 54.6%): #faca1c. Darker variant (lightness 24.6%): #7b6103. 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.