In RGB color space, #1228b2 hex color has a red value of 18, a green value of 40 and a blue value of 178.
In CMYK color space (used in color printing), #1228b2 hex color is composed of 89.89% cyan, 77.53% magenta, 0% yellow and 30.2% black.
#1228b2 color has a hue of 231.8 degrees, a saturation of 81.63% and a lightness of 38.4%.
#1228b2 hex color contains mainly BLUE.
The closest web safe color of #1228b2 is #003399
#1228b2 hex color has a decimal value of 1190066.
HEX | 1228b2 | #1228b2 |
---|---|---|
RGB | 18, 40, 178 | rgb(18, 40, 178) |
RGB Percent | 7.06, 15.69, 69.8 | rgb(7.06, 15.69, 69.8) |
CMYK | 90, 78, 0, 30 | |
HSL | 231.8°, 81.63, 38.4 | hsl(231.8, 81.63%, 38.4%) |
HSV | 231.8°, 89.9, 69.8 |
XYZ | 9.044, 4.861, 42.581 |
---|---|
Hunter Lab | 22.048, 34.638, -99.074 |
CIE-LAB | 26.335, 45.789, -73.265 |
CIE-LCH | 26.335, 86.397, 302.004 |
CIE-LUV | 89.89, 77.53, 0, 30.2 |
Web Safe | 003399 |
RGB percent of color #1228b2
CMYK percent of color #1228b2
Text with hexadecimal color #1228b2
This text has a font color of #1228b2
<p style="color:#1228b2">Text here</p>
#1228b2 Background Color
This box has a background color of #1228b2
<div style="background-color:#1228b2">Text here</div>
#1228b2 Border Color
This box has a border color of #1228b2
<div style="border: 4px solid #1228b2">Text here</div>
CSS codes
<p style="color:#1228b2">Text here</p>
<div style="background-color:#1228b2">Text here</div>
<div style="border: 4px solid #1228b2">Text here</div>
#1228b2 Color on white background
This is how a font and box color of #1228b2 will look
on a white background.
#1228b2 Color on black background
This is how a font and box color of #1228b2 hex color will look
on a black background.