What is the HEX code for spruce?
The CSS color spruce in HEX format is #0a5f38. Use this value directly in CSS, SVG, and most design tools.
How do I use spruce in CSS?
To apply spruce in CSS:
- Text color: color: #0a5f38;
- Background: background-color: #0a5f38;
- Border: border-color: #0a5f38;
What are all the color format values for spruce?
| Format | Value |
|---|---|
| HEX | #0a5f38 |
| RGB | rgb(10, 95, 56) |
| HSL | hsl(152.5, 81%, 20.6%) |
| CMYK | cmyk(89.5%, 0%, 41.1%, 62.7%) |
How do I convert spruce to HEX?
Select spruce from the color name list in our color converter. The HEX value — #0a5f38 — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does spruce belong to?
spruce belongs to the green color family. It is a dark, vivid color with HSL values: hue 152.5°, saturation 81%, lightness 20.6%.
How do I create lighter and darker shades of spruce?
Lighter variant (lightness 35.6%): #11a461. Darker variant (lightness 5.600000000000001%): #031a0f. 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.