In RGB color space, #2a118e hex color has a red value of 42, a green value of 17 and a blue value of 142.
In CMYK color space (used in color printing), #2a118e hex color is composed of 70.42% cyan, 88.03% magenta, 0% yellow and 44.31% black.
#2a118e color has a hue of 252 degrees, a saturation of 78.62% and a lightness of 31.2%.
#2a118e hex color contains mainly BLUE.
The closest web safe color of #2a118e is #330099
#2a118e hex color has a decimal value of 2757006.
HEX | 2a118e | #2a118e |
---|---|---|
RGB | 42, 17, 142 | rgb(42, 17, 142) |
RGB Percent | 16.47, 6.67, 55.69 | rgb(16.47, 6.67, 55.69) |
CMYK | 70, 88, 0, 44 | |
HSL | 252°, 78.62, 31.2 | hsl(252, 78.62%, 31.2%) |
HSV | 252°, 88, 55.7 |
XYZ | 6.038, 2.846, 25.822 |
---|---|
Hunter Lab | 16.87, 34.365, -78.942 |
CIE-LAB | 19.416, 46.849, -62.733 |
CIE-LCH | 19.416, 78.296, 306.752 |
CIE-LUV | 70.42, 88.03, 0, 44.31 |
Web Safe | 330099 |
RGB percent of color #2a118e
CMYK percent of color #2a118e
Text with hexadecimal color #2a118e
This text has a font color of #2a118e
<p style="color:#2a118e">Text here</p>
#2a118e Background Color
This box has a background color of #2a118e
<div style="background-color:#2a118e">Text here</div>
#2a118e Border Color
This box has a border color of #2a118e
<div style="border: 4px solid #2a118e">Text here</div>
CSS codes
<p style="color:#2a118e">Text here</p>
<div style="background-color:#2a118e">Text here</div>
<div style="border: 4px solid #2a118e">Text here</div>
#2a118e Color on white background
This is how a font and box color of #2a118e will look
on a white background.
#2a118e Color on black background
This is how a font and box color of #2a118e hex color will look
on a black background.