In RGB color space, #151228 hex color has a red value of 21, a green value of 18 and a blue value of 40.
In CMYK color space (used in color printing), #151228 hex color is composed of 47.5% cyan, 55% magenta, 0% yellow and 84.31% black.
#151228 color has a hue of 248.2 degrees, a saturation of 37.93% and a lightness of 11.4%.
#151228 hex color contains mainly BLUE.
The closest web safe color of #151228 is #000033
#151228 hex color has a decimal value of 1380904.
HEX | 151228 | #151228 |
---|---|---|
RGB | 21, 18, 40 | rgb(21, 18, 40) |
RGB Percent | 8.24, 7.06, 15.69 | rgb(8.24, 7.06, 15.69) |
CMYK | 48, 55, 0, 84 | |
HSL | 248.2°, 37.93, 11.4 | hsl(248.2, 37.93%, 11.4%) |
HSV | 248.2°, 55, 15.7 |
XYZ | 0.909, 0.745, 2.103 |
---|---|
Hunter Lab | 8.631, 3.694, -8.404 |
CIE-LAB | 6.73, 8.16, -14.472 |
CIE-LCH | 6.73, 16.614, 299.416 |
CIE-LUV | 47.5, 55, 0, 84.31 |
Web Safe | 000033 |
RGB percent of color #151228
CMYK percent of color #151228
Text with hexadecimal color #151228
This text has a font color of #151228
<p style="color:#151228">Text here</p>
#151228 Background Color
This box has a background color of #151228
<div style="background-color:#151228">Text here</div>
#151228 Border Color
This box has a border color of #151228
<div style="border: 4px solid #151228">Text here</div>
CSS codes
<p style="color:#151228">Text here</p>
<div style="background-color:#151228">Text here</div>
<div style="border: 4px solid #151228">Text here</div>
#151228 Color on white background
This is how a font and box color of #151228 will look
on a white background.
#151228 Color on black background
This is how a font and box color of #151228 hex color will look
on a black background.