In RGB color space, #2f12ab hex color has a red value of 47, a green value of 18 and a blue value of 171.
In CMYK color space (used in color printing), #2f12ab hex color is composed of 72.51% cyan, 89.47% magenta, 0% yellow and 32.94% black.
#2f12ab color has a hue of 251.4 degrees, a saturation of 80.95% and a lightness of 37.1%.
#2f12ab hex color contains mainly BLUE.
The closest web safe color of #2f12ab is #330099
#2f12ab hex color has a decimal value of 3084971.
HEX | 2f12ab | #2f12ab |
---|---|---|
RGB | 47, 18, 171 | rgb(47, 18, 171) |
RGB Percent | 18.43, 7.06, 67.06 | rgb(18.43, 7.06, 67.06) |
CMYK | 73, 89, 0, 33 | |
HSL | 251.4°, 80.95, 37.1 | hsl(251.4, 80.95%, 37.1%) |
HSV | 251.4°, 89.5, 67.1 |
XYZ | 8.739, 3.977, 38.835 |
---|---|
Hunter Lab | 19.942, 43.322, -101.499 |
CIE-LAB | 23.595, 55.003, -73.568 |
CIE-LCH | 23.595, 91.856, 306.784 |
CIE-LUV | 72.51, 89.47, 0, 32.94 |
Web Safe | 330099 |
RGB percent of color #2f12ab
CMYK percent of color #2f12ab
Text with hexadecimal color #2f12ab
This text has a font color of #2f12ab
<p style="color:#2f12ab">Text here</p>
#2f12ab Background Color
This box has a background color of #2f12ab
<div style="background-color:#2f12ab">Text here</div>
#2f12ab Border Color
This box has a border color of #2f12ab
<div style="border: 4px solid #2f12ab">Text here</div>
CSS codes
<p style="color:#2f12ab">Text here</p>
<div style="background-color:#2f12ab">Text here</div>
<div style="border: 4px solid #2f12ab">Text here</div>
#2f12ab Color on white background
This is how a font and box color of #2f12ab will look
on a white background.
#2f12ab Color on black background
This is how a font and box color of #2f12ab hex color will look
on a black background.