In RGB color space, #172842 hex color has a red value of 23, a green value of 40 and a blue value of 66.
In CMYK color space (used in color printing), #172842 hex color is composed of 65.15% cyan, 39.39% magenta, 0% yellow and 74.12% black.
#172842 color has a hue of 216.3 degrees, a saturation of 48.31% and a lightness of 17.5%.
#172842 hex color contains mainly BLUE.
The closest web safe color of #172842 is #003333
#172842 hex color has a decimal value of 1517634.
HEX | 172842 | #172842 |
---|---|---|
RGB | 23, 40, 66 | rgb(23, 40, 66) |
RGB Percent | 9.02, 15.69, 25.88 | rgb(9.02, 15.69, 25.88) |
CMYK | 65, 39, 0, 74 | |
HSL | 216.3°, 48.31, 17.5 | hsl(216.3, 48.31%, 17.5%) |
HSV | 216.3°, 65.2, 25.9 |
XYZ | 2.096, 2.093, 5.448 |
---|---|
Hunter Lab | 14.467, 0.543, -12.2 |
CIE-LAB | 15.968, 2.42, -18.581 |
CIE-LCH | 15.968, 18.738, 277.42 |
CIE-LUV | 65.15, 39.39, 0, 74.12 |
Web Safe | 003333 |
RGB percent of color #172842
CMYK percent of color #172842
Text with hexadecimal color #172842
This text has a font color of #172842
<p style="color:#172842">Text here</p>
#172842 Background Color
This box has a background color of #172842
<div style="background-color:#172842">Text here</div>
#172842 Border Color
This box has a border color of #172842
<div style="border: 4px solid #172842">Text here</div>
CSS codes
<p style="color:#172842">Text here</p>
<div style="background-color:#172842">Text here</div>
<div style="border: 4px solid #172842">Text here</div>
#172842 Color on white background
This is how a font and box color of #172842 will look
on a white background.
#172842 Color on black background
This is how a font and box color of #172842 hex color will look
on a black background.