What is the HEX code for slategray?
The CSS color slategray in HEX format is #708090. Use this value directly in CSS, SVG, and most design tools.
How do I use slategray in CSS?
To apply slategray in CSS:
- Text color: color: #708090;
- Background: background-color: #708090;
- Border: border-color: #708090;
What are all the color format values for slategray?
| Format | Value |
|---|---|
| HEX | #708090 |
| RGB | rgb(112, 128, 144) |
| HSL | hsl(210, 12.6%, 50.2%) |
| CMYK | cmyk(22.2%, 11.1%, 0%, 43.5%) |
How do I convert slategray to HEX?
Select slategray from the color name list in our color converter. The HEX value — #708090 — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does slategray belong to?
slategray belongs to the blue color family. It is a medium, muted color with HSL values: hue 210°, saturation 12.6%, lightness 50.2%.
How do I create lighter and darker shades of slategray?
Lighter variant (lightness 65.2%): #9ba6b1. Darker variant (lightness 35.2%): #4e5a65. 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.