What is the CMYK code for gray?
The CSS color gray in CMYK format is cmyk(0%, 0%, 0%, 49.8%). Use this value directly in CSS, SVG, and most design tools.
How do I use gray in CSS?
To apply gray in CSS:
- Text color: color: cmyk(0%, 0%, 0%, 49.8%);
- Background: background-color: cmyk(0%, 0%, 0%, 49.8%);
- Border: border-color: cmyk(0%, 0%, 0%, 49.8%);
What are all the color format values for gray?
| Format | Value |
|---|---|
| HEX | #808080 |
| RGB | rgb(128, 128, 128) |
| HSL | hsl(0, 0%, 50.2%) |
| CMYK | cmyk(0%, 0%, 0%, 49.8%) |
How do I convert gray to CMYK?
Select gray from the color name list in our color converter. The CMYK value — cmyk(0%, 0%, 0%, 49.8%) — appears instantly alongside HEX, RGB, HSL and CMYK.
What color family does gray belong to?
gray belongs to the neutral (gray) color family. It is a medium, muted color with HSL values: hue 0°, saturation 0%, lightness 50.2%.
How do I create lighter and darker shades of gray?
Lighter variant (lightness 65.2%): #a6a6a6. Darker variant (lightness 35.2%): #5a5a5a. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.
What is CMYK used for?
CMYK (Cyan, Magenta, Yellow, Key/Black) is used in print design. Unlike RGB which adds light, CMYK subtracts it using ink. Always convert to CMYK before sending files to a professional printer.