In RGB color space, #2a157e hex color has a red value of 42, a green value of 21 and a blue value of 126.
In CMYK color space (used in color printing), #2a157e hex color is composed of 66.67% cyan, 83.33% magenta, 0% yellow and 50.59% black.
#2a157e color has a hue of 252 degrees, a saturation of 71.43% and a lightness of 28.8%.
#2a157e hex color contains mainly BLUE.
The closest web safe color of #2a157e is #330066
#2a157e hex color has a decimal value of 2758014.
HEX | 2a157e | #2a157e |
---|---|---|
RGB | 42, 21, 126 | rgb(42, 21, 126) |
RGB Percent | 16.47, 8.24, 49.41 | rgb(16.47, 8.24, 49.41) |
CMYK | 67, 83, 0, 51 | |
HSL | 252°, 71.43, 28.8 | hsl(252, 71.43%, 28.8%) |
HSV | 252°, 83.3, 49.4 |
XYZ | 4.989, 2.535, 19.965 |
---|---|
Hunter Lab | 15.922, 28.069, -63.202 |
CIE-LAB | 18.076, 40.33, -54.871 |
CIE-LCH | 18.076, 68.098, 306.316 |
CIE-LUV | 66.67, 83.33, 0, 50.59 |
Web Safe | 330066 |
RGB percent of color #2a157e
CMYK percent of color #2a157e
Text with hexadecimal color #2a157e
This text has a font color of #2a157e
<p style="color:#2a157e">Text here</p>
#2a157e Background Color
This box has a background color of #2a157e
<div style="background-color:#2a157e">Text here</div>
#2a157e Border Color
This box has a border color of #2a157e
<div style="border: 4px solid #2a157e">Text here</div>
CSS codes
<p style="color:#2a157e">Text here</p>
<div style="background-color:#2a157e">Text here</div>
<div style="border: 4px solid #2a157e">Text here</div>
#2a157e Color on white background
This is how a font and box color of #2a157e will look
on a white background.
#2a157e Color on black background
This is how a font and box color of #2a157e hex color will look
on a black background.