In RGB color space, #2a7f9c hex color has a red value of 42, a green value of 127 and a blue value of 156.
In CMYK color space (used in color printing), #2a7f9c hex color is composed of 73.08% cyan, 18.59% magenta, 0% yellow and 38.82% black.
#2a7f9c color has a hue of 195.3 degrees, a saturation of 57.58% and a lightness of 38.8%.
#2a7f9c hex color contains mainly BLUE.
The closest web safe color of #2a7f9c is #336699
#2a7f9c hex color has a decimal value of 2785180.
HEX | 2a7f9c | #2a7f9c |
---|---|---|
RGB | 42, 127, 156 | rgb(42, 127, 156) |
RGB Percent | 16.47, 49.8, 61.18 | rgb(16.47, 49.8, 61.18) |
CMYK | 73, 19, 0, 39 | |
HSL | 195.3°, 57.58, 38.8 | hsl(195.3, 57.58%, 38.8%) |
HSV | 195.3°, 73.1, 61.2 |
XYZ | 14.545, 18.071, 34.174 |
---|---|
Hunter Lab | 42.51, -13.318, -17.907 |
CIE-LAB | 49.582, -15.24, -22.845 |
CIE-LCH | 49.582, 27.462, 236.293 |
CIE-LUV | 73.08, 18.59, 0, 38.82 |
Web Safe | 336699 |
RGB percent of color #2a7f9c
CMYK percent of color #2a7f9c
Text with hexadecimal color #2a7f9c
This text has a font color of #2a7f9c
<p style="color:#2a7f9c">Text here</p>
#2a7f9c Background Color
This box has a background color of #2a7f9c
<div style="background-color:#2a7f9c">Text here</div>
#2a7f9c Border Color
This box has a border color of #2a7f9c
<div style="border: 4px solid #2a7f9c">Text here</div>
CSS codes
<p style="color:#2a7f9c">Text here</p>
<div style="background-color:#2a7f9c">Text here</div>
<div style="border: 4px solid #2a7f9c">Text here</div>
#2a7f9c Color on white background
This is how a font and box color of #2a7f9c will look
on a white background.
#2a7f9c Color on black background
This is how a font and box color of #2a7f9c hex color will look
on a black background.