In RGB color space, #2a2f40 hex color has a red value of 42, a green value of 47 and a blue value of 64.
In CMYK color space (used in color printing), #2a2f40 hex color is composed of 34.38% cyan, 26.56% magenta, 0% yellow and 74.9% black.
#2a2f40 color has a hue of 226.4 degrees, a saturation of 20.75% and a lightness of 20.8%.
#2a2f40 hex color contains mainly BLUE.
The closest web safe color of #2a2f40 is #333333
#2a2f40 hex color has a decimal value of 2764608.
HEX | 2a2f40 | #2a2f40 |
---|---|---|
RGB | 42, 47, 64 | rgb(42, 47, 64) |
RGB Percent | 16.47, 18.43, 25.1 | rgb(16.47, 18.43, 25.1) |
CMYK | 34, 27, 0, 75 | |
HSL | 226.4°, 20.75, 20.8 | hsl(226.4, 20.75%, 20.8%) |
HSV | 226.4°, 34.4, 25.1 |
XYZ | 2.897, 2.895, 5.257 |
---|---|
Hunter Lab | 17.015, 0.616, -6.408 |
CIE-LAB | 19.618, 2.658, -11.415 |
CIE-LCH | 19.618, 11.72, 283.108 |
CIE-LUV | 34.38, 26.56, 0, 74.9 |
Web Safe | 333333 |
RGB percent of color #2a2f40
CMYK percent of color #2a2f40
Text with hexadecimal color #2a2f40
This text has a font color of #2a2f40
<p style="color:#2a2f40">Text here</p>
#2a2f40 Background Color
This box has a background color of #2a2f40
<div style="background-color:#2a2f40">Text here</div>
#2a2f40 Border Color
This box has a border color of #2a2f40
<div style="border: 4px solid #2a2f40">Text here</div>
CSS codes
<p style="color:#2a2f40">Text here</p>
<div style="background-color:#2a2f40">Text here</div>
<div style="border: 4px solid #2a2f40">Text here</div>
#2a2f40 Color on white background
This is how a font and box color of #2a2f40 will look
on a white background.
#2a2f40 Color on black background
This is how a font and box color of #2a2f40 hex color will look
on a black background.