In RGB color space, #051228 hex color has a red value of 5, a green value of 18 and a blue value of 40.
In CMYK color space (used in color printing), #051228 hex color is composed of 87.5% cyan, 55% magenta, 0% yellow and 84.31% black.
#051228 color has a hue of 217.7 degrees, a saturation of 77.78% and a lightness of 8.8%.
#051228 hex color contains mainly BLUE.
The closest web safe color of #051228 is #000033
#051228 hex color has a decimal value of 332328.
HEX | 051228 | #051228 |
---|---|---|
RGB | 5, 18, 40 | rgb(5, 18, 40) |
RGB Percent | 1.96, 7.06, 15.69 | rgb(1.96, 7.06, 15.69) |
CMYK | 88, 55, 0, 84 | |
HSL | 217.7°, 77.78, 8.8 | hsl(217.7, 77.78%, 8.8%) |
HSV | 217.7°, 87.5, 15.7 |
XYZ | 0.662, 0.618, 2.092 |
---|---|
Hunter Lab | 7.861, 1.274, -10.275 |
CIE-LAB | 5.582, 3.056, -16.356 |
CIE-LCH | 5.582, 16.639, 280.583 |
CIE-LUV | 87.5, 55, 0, 84.31 |
Web Safe | 000033 |
RGB percent of color #051228
CMYK percent of color #051228
Text with hexadecimal color #051228
This text has a font color of #051228
<p style="color:#051228">Text here</p>
#051228 Background Color
This box has a background color of #051228
<div style="background-color:#051228">Text here</div>
#051228 Border Color
This box has a border color of #051228
<div style="border: 4px solid #051228">Text here</div>
CSS codes
<p style="color:#051228">Text here</p>
<div style="background-color:#051228">Text here</div>
<div style="border: 4px solid #051228">Text here</div>
#051228 Color on white background
This is how a font and box color of #051228 will look
on a white background.
#051228 Color on black background
This is how a font and box color of #051228 hex color will look
on a black background.