In RGB color space, #1f0cb4 hex color has a red value of 31, a green value of 12 and a blue value of 180.
In CMYK color space (used in color printing), #1f0cb4 hex color is composed of 82.78% cyan, 93.33% magenta, 0% yellow and 29.41% black.
#1f0cb4 color has a hue of 246.8 degrees, a saturation of 87.5% and a lightness of 37.6%.
#1f0cb4 hex color contains mainly BLUE.
The closest web safe color of #1f0cb4 is #3300cc
#1f0cb4 hex color has a decimal value of 2034868.
HEX | 1f0cb4 | #1f0cb4 |
---|---|---|
RGB | 31, 12, 180 | rgb(31, 12, 180) |
RGB Percent | 12.16, 4.71, 70.59 | rgb(12.16, 4.71, 70.59) |
CMYK | 83, 93, 0, 29 | |
HSL | 246.8°, 87.5, 37.6 | hsl(246.8, 87.5%, 37.6%) |
HSV | 246.8°, 93.3, 70.6 |
XYZ | 8.935, 3.85, 43.452 |
---|---|
Hunter Lab | 19.621, 46.946, -117.564 |
CIE-LAB | 23.169, 58.514, -79.714 |
CIE-LCH | 23.169, 98.885, 306.281 |
CIE-LUV | 82.78, 93.33, 0, 29.41 |
Web Safe | 3300cc |
RGB percent of color #1f0cb4
CMYK percent of color #1f0cb4
Text with hexadecimal color #1f0cb4
This text has a font color of #1f0cb4
<p style="color:#1f0cb4">Text here</p>
#1f0cb4 Background Color
This box has a background color of #1f0cb4
<div style="background-color:#1f0cb4">Text here</div>
#1f0cb4 Border Color
This box has a border color of #1f0cb4
<div style="border: 4px solid #1f0cb4">Text here</div>
CSS codes
<p style="color:#1f0cb4">Text here</p>
<div style="background-color:#1f0cb4">Text here</div>
<div style="border: 4px solid #1f0cb4">Text here</div>
#1f0cb4 Color on white background
This is how a font and box color of #1f0cb4 will look
on a white background.
#1f0cb4 Color on black background
This is how a font and box color of #1f0cb4 hex color will look
on a black background.