In RGB color space, #2a42c6 hex color has a red value of 42, a green value of 66 and a blue value of 198.
In CMYK color space (used in color printing), #2a42c6 hex color is composed of 78.79% cyan, 66.67% magenta, 0% yellow and 22.35% black.
#2a42c6 color has a hue of 230.8 degrees, a saturation of 65% and a lightness of 47.1%.
#2a42c6 hex color contains mainly BLUE.
The closest web safe color of #2a42c6 is #3333cc
#2a42c6 hex color has a decimal value of 2769606.
HEX | 2a42c6 | #2a42c6 |
---|---|---|
RGB | 42, 66, 198 | rgb(42, 66, 198) |
RGB Percent | 16.47, 25.88, 77.65 | rgb(16.47, 25.88, 77.65) |
CMYK | 79, 67, 0, 22 | |
HSL | 230.8°, 65, 47.1 | hsl(230.8, 65%, 47.1%) |
HSV | 230.8°, 78.8, 77.6 |
XYZ | 13.096, 8.466, 54.37 |
---|---|
Hunter Lab | 29.096, 29.422, -90.423 |
CIE-LAB | 34.935, 38.7, -70.851 |
CIE-LCH | 34.935, 80.731, 298.644 |
CIE-LUV | 78.79, 66.67, 0, 22.35 |
Web Safe | 3333cc |
RGB percent of color #2a42c6
CMYK percent of color #2a42c6
Text with hexadecimal color #2a42c6
This text has a font color of #2a42c6
<p style="color:#2a42c6">Text here</p>
#2a42c6 Background Color
This box has a background color of #2a42c6
<div style="background-color:#2a42c6">Text here</div>
#2a42c6 Border Color
This box has a border color of #2a42c6
<div style="border: 4px solid #2a42c6">Text here</div>
CSS codes
<p style="color:#2a42c6">Text here</p>
<div style="background-color:#2a42c6">Text here</div>
<div style="border: 4px solid #2a42c6">Text here</div>
#2a42c6 Color on white background
This is how a font and box color of #2a42c6 will look
on a white background.
#2a42c6 Color on black background
This is how a font and box color of #2a42c6 hex color will look
on a black background.