In RGB color space, #1f1f99 hex color has a red value of 31, a green value of 31 and a blue value of 153.
In CMYK color space (used in color printing), #1f1f99 hex color is composed of 79.74% cyan, 79.74% magenta, 0% yellow and 40% black.
#1f1f99 color has a hue of 240 degrees, a saturation of 66.3% and a lightness of 36.1%.
#1f1f99 hex color contains mainly BLUE.
The closest web safe color of #1f1f99 is #333399
#1f1f99 hex color has a decimal value of 2039705.
HEX | 1f1f99 | #1f1f99 |
---|---|---|
RGB | 31, 31, 153 | rgb(31, 31, 153) |
RGB Percent | 12.16, 12.16, 60 | rgb(12.16, 12.16, 60) |
CMYK | 80, 80, 0, 40 | |
HSL | 240°, 66.3, 36.1 | hsl(240, 66.3%, 36.1%) |
HSV | 240°, 79.7, 60 |
XYZ | 6.805, 3.571, 30.468 |
---|---|
Hunter Lab | 18.897, 31.209, -82.366 |
CIE-LAB | 22.199, 42.967, -64.954 |
CIE-LCH | 22.199, 77.879, 303.485 |
CIE-LUV | 79.74, 79.74, 0, 40 |
Web Safe | 333399 |
RGB percent of color #1f1f99
CMYK percent of color #1f1f99
Text with hexadecimal color #1f1f99
This text has a font color of #1f1f99
<p style="color:#1f1f99">Text here</p>
#1f1f99 Background Color
This box has a background color of #1f1f99
<div style="background-color:#1f1f99">Text here</div>
#1f1f99 Border Color
This box has a border color of #1f1f99
<div style="border: 4px solid #1f1f99">Text here</div>
CSS codes
<p style="color:#1f1f99">Text here</p>
<div style="background-color:#1f1f99">Text here</div>
<div style="border: 4px solid #1f1f99">Text here</div>
#1f1f99 Color on white background
This is how a font and box color of #1f1f99 will look
on a white background.
#1f1f99 Color on black background
This is how a font and box color of #1f1f99 hex color will look
on a black background.