In RGB color space, #1f7998 hex color has a red value of 31, a green value of 121 and a blue value of 152.
In CMYK color space (used in color printing), #1f7998 hex color is composed of 79.61% cyan, 20.39% magenta, 0% yellow and 40.39% black.
#1f7998 color has a hue of 195.4 degrees, a saturation of 66.12% and a lightness of 35.9%.
#1f7998 hex color contains mainly BLUE.
The closest web safe color of #1f7998 is #336699
#1f7998 hex color has a decimal value of 2062744.
HEX | 1f7998 | #1f7998 |
---|---|---|
RGB | 31, 121, 152 | rgb(31, 121, 152) |
RGB Percent | 12.16, 47.45, 59.61 | rgb(12.16, 47.45, 59.61) |
CMYK | 80, 20, 0, 40 | |
HSL | 195.4°, 66.12, 35.9 | hsl(195.4, 66.12%, 35.9%) |
HSV | 195.4°, 79.6, 59.6 |
XYZ | 13.07, 16.233, 32.15 |
---|---|
Hunter Lab | 40.29, -12.603, -19.108 |
CIE-LAB | 47.279, -14.676, -24.078 |
CIE-LCH | 47.279, 28.198, 238.637 |
CIE-LUV | 79.61, 20.39, 0, 40.39 |
Web Safe | 336699 |
RGB percent of color #1f7998
CMYK percent of color #1f7998
Text with hexadecimal color #1f7998
This text has a font color of #1f7998
<p style="color:#1f7998">Text here</p>
#1f7998 Background Color
This box has a background color of #1f7998
<div style="background-color:#1f7998">Text here</div>
#1f7998 Border Color
This box has a border color of #1f7998
<div style="border: 4px solid #1f7998">Text here</div>
CSS codes
<p style="color:#1f7998">Text here</p>
<div style="background-color:#1f7998">Text here</div>
<div style="border: 4px solid #1f7998">Text here</div>
#1f7998 Color on white background
This is how a font and box color of #1f7998 will look
on a white background.
#1f7998 Color on black background
This is how a font and box color of #1f7998 hex color will look
on a black background.