In RGB color space, #0512a2 hex color has a red value of 5, a green value of 18 and a blue value of 162.
In CMYK color space (used in color printing), #0512a2 hex color is composed of 96.91% cyan, 88.89% magenta, 0% yellow and 36.47% black.
#0512a2 color has a hue of 235 degrees, a saturation of 94.01% and a lightness of 32.7%.
#0512a2 hex color contains mainly BLUE.
The closest web safe color of #0512a2 is #000099
#0512a2 hex color has a decimal value of 332450.
HEX | 0512a2 | #0512a2 |
---|---|---|
RGB | 5, 18, 162 | rgb(5, 18, 162) |
RGB Percent | 1.96, 7.06, 63.53 | rgb(1.96, 7.06, 63.53) |
CMYK | 97, 89, 0, 36 | |
HSL | 235°, 94.01, 32.7 | hsl(235, 94.01%, 32.7%) |
HSV | 235°, 96.9, 63.5 |
XYZ | 6.8, 3.074, 34.417 |
---|---|
Hunter Lab | 17.533, 38.548, -104.114 |
CIE-LAB | 20.338, 50.939, -73.587 |
CIE-LCH | 20.338, 89.498, 304.692 |
CIE-LUV | 96.91, 88.89, 0, 36.47 |
Web Safe | 000099 |
RGB percent of color #0512a2
CMYK percent of color #0512a2
Text with hexadecimal color #0512a2
This text has a font color of #0512a2
<p style="color:#0512a2">Text here</p>
#0512a2 Background Color
This box has a background color of #0512a2
<div style="background-color:#0512a2">Text here</div>
#0512a2 Border Color
This box has a border color of #0512a2
<div style="border: 4px solid #0512a2">Text here</div>
CSS codes
<p style="color:#0512a2">Text here</p>
<div style="background-color:#0512a2">Text here</div>
<div style="border: 4px solid #0512a2">Text here</div>
#0512a2 Color on white background
This is how a font and box color of #0512a2 will look
on a white background.
#0512a2 Color on black background
This is how a font and box color of #0512a2 hex color will look
on a black background.