In RGB color space, #2a12a2 hex color has a red value of 42, a green value of 18 and a blue value of 162.
In CMYK color space (used in color printing), #2a12a2 hex color is composed of 74.07% cyan, 88.89% magenta, 0% yellow and 36.47% black.
#2a12a2 color has a hue of 250 degrees, a saturation of 80% and a lightness of 35.3%.
#2a12a2 hex color contains mainly BLUE.
The closest web safe color of #2a12a2 is #330099
#2a12a2 hex color has a decimal value of 2757282.
HEX | 2a12a2 | #2a12a2 |
---|---|---|
RGB | 42, 18, 162 | rgb(42, 18, 162) |
RGB Percent | 16.47, 7.06, 63.53 | rgb(16.47, 7.06, 63.53) |
CMYK | 74, 89, 0, 36 | |
HSL | 250°, 80, 35.3 | hsl(250, 80%, 35.3%) |
HSV | 250°, 88.9, 63.5 |
XYZ | 7.693, 3.533, 34.459 |
---|---|
Hunter Lab | 18.796, 40.164, -95.538 |
CIE-LAB | 22.063, 52.217, -70.668 |
CIE-LCH | 22.063, 87.867, 306.461 |
CIE-LUV | 74.07, 88.89, 0, 36.47 |
Web Safe | 330099 |
RGB percent of color #2a12a2
CMYK percent of color #2a12a2
Text with hexadecimal color #2a12a2
This text has a font color of #2a12a2
<p style="color:#2a12a2">Text here</p>
#2a12a2 Background Color
This box has a background color of #2a12a2
<div style="background-color:#2a12a2">Text here</div>
#2a12a2 Border Color
This box has a border color of #2a12a2
<div style="border: 4px solid #2a12a2">Text here</div>
CSS codes
<p style="color:#2a12a2">Text here</p>
<div style="background-color:#2a12a2">Text here</div>
<div style="border: 4px solid #2a12a2">Text here</div>
#2a12a2 Color on white background
This is how a font and box color of #2a12a2 will look
on a white background.
#2a12a2 Color on black background
This is how a font and box color of #2a12a2 hex color will look
on a black background.