In RGB color space, #304042 hex color has a red value of 48, a green value of 64 and a blue value of 66.
In CMYK color space (used in color printing), #304042 hex color is composed of 27.27% cyan, 3.03% magenta, 0% yellow and 74.12% black.
#304042 color has a hue of 186.7 degrees, a saturation of 15.79% and a lightness of 22.4%.
#304042 hex color contains mainly BLUE.
The closest web safe color of #304042 is #333333
#304042 hex color has a decimal value of 3162178.
HEX | 304042 | #304042 |
---|---|---|
RGB | 48, 64, 66 | rgb(48, 64, 66) |
RGB Percent | 18.82, 25.1, 25.88 | rgb(18.82, 25.1, 25.88) |
CMYK | 27, 3, 0, 74 | |
HSL | 186.7°, 15.79, 22.4 | hsl(186.7, 15.79%, 22.4%) |
HSV | 186.7°, 27.3, 25.9 |
XYZ | 4.036, 4.689, 5.847 |
---|---|
Hunter Lab | 21.654, -4.625, -0.852 |
CIE-LAB | 25.83, -5.862, -3.335 |
CIE-LCH | 25.83, 6.744, 209.636 |
CIE-LUV | 27.27, 3.03, 0, 74.12 |
Web Safe | 333333 |
RGB percent of color #304042
CMYK percent of color #304042
Text with hexadecimal color #304042
This text has a font color of #304042
<p style="color:#304042">Text here</p>
#304042 Background Color
This box has a background color of #304042
<div style="background-color:#304042">Text here</div>
#304042 Border Color
This box has a border color of #304042
<div style="border: 4px solid #304042">Text here</div>
CSS codes
<p style="color:#304042">Text here</p>
<div style="background-color:#304042">Text here</div>
<div style="border: 4px solid #304042">Text here</div>
#304042 Color on white background
This is how a font and box color of #304042 will look
on a white background.
#304042 Color on black background
This is how a font and box color of #304042 hex color will look
on a black background.