In RGB color space, #2a6c04 hex color has a red value of 42, a green value of 108 and a blue value of 4.
In CMYK color space (used in color printing), #2a6c04 hex color is composed of 61.11% cyan, 0% magenta, 96.3% yellow and 57.65% black.
#2a6c04 color has a hue of 98.1 degrees, a saturation of 92.86% and a lightness of 22%.
#2a6c04 hex color contains mainly GREEN.
The closest web safe color of #2a6c04 is #336600
#2a6c04 hex color has a decimal value of 2780164.
HEX | 2a6c04 | #2a6c04 |
---|---|---|
RGB | 42, 108, 4 | rgb(42, 108, 4) |
RGB Percent | 16.47, 42.35, 1.57 | rgb(16.47, 42.35, 1.57) |
CMYK | 61, 0, 96, 58 | |
HSL | 98.1°, 92.86, 22 | hsl(98.1, 92.86%, 22%) |
HSV | 98.1°, 96.3, 42.4 |
XYZ | 6.339, 11.226, 1.948 |
---|---|
Hunter Lab | 33.505, -24.863, 20.007 |
CIE-LAB | 39.959, -38.433, 44.172 |
CIE-LCH | 39.959, 58.551, 131.026 |
CIE-LUV | 61.11, 0, 96.3, 57.65 |
Web Safe | 336600 |
RGB percent of color #2a6c04
CMYK percent of color #2a6c04
Text with hexadecimal color #2a6c04
This text has a font color of #2a6c04
<p style="color:#2a6c04">Text here</p>
#2a6c04 Background Color
This box has a background color of #2a6c04
<div style="background-color:#2a6c04">Text here</div>
#2a6c04 Border Color
This box has a border color of #2a6c04
<div style="border: 4px solid #2a6c04">Text here</div>
CSS codes
<p style="color:#2a6c04">Text here</p>
<div style="background-color:#2a6c04">Text here</div>
<div style="border: 4px solid #2a6c04">Text here</div>
#2a6c04 Color on white background
This is how a font and box color of #2a6c04 will look
on a white background.
#2a6c04 Color on black background
This is how a font and box color of #2a6c04 hex color will look
on a black background.