color details

Color Details
#4F7942 Color Hex

#4F7942 color RGB value is (4, 247, 148).
#4F7942 hex color red value is 4, green value is 247, and blue value is 148.
Cylindrical-coordinate representations (HSL) of color #4F7942 hue: 155.56, saturation: 0.97 and lightness: 0.49.

The process color (four-color CMYK) of #4F7942 color hex is 0.00, 0.28, 0.40, 0.03. Web safe color of #4F7942 is #ff9999. Color #4F7942 contains mainly RED.

Color Spaces
Color spaces of #4F7942Value
RGB79, 121, 66
HSL0.29, 0.29, 0.37
HSV106°, 45°, 47°
XYZ11.04, 15.73, 7.61
Base Numbers
Base Red Green Blue
Binary 1001111 1111001 1000010
Octal 117 171 102
Decimal 79 121 66
Hex 4F 79 42

RGB Percentages for Color #4F7942

29.7%
45.49%
24.81%

CMYK Percentages of the Color #4F7942

34.71%
45.45%
52.55%
CSS Codes for Color #4F7942
.mybgColor {background-color: #4F7942;}
.myforeColor {color: #4F7942;}
.myborderColor {border:3px solid #4F7942;}
Text Font Color #4F7942

<p style="color:#4F7942">Text here</p>

This sample text is styled with the font color #4F7942. It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here,

Background Color #4F7942

<div style="background-color:#4F7942">Div content here</div>

The background color of this div is #4F7942
Border Color #4F7942

<div style="border:3px solid #4F7942">Div here</div>

The border color of this div is #4F7942
Css3 Examples
            .textShadowRgb {
                text-shadow: 4px 4px 2px rgba(79, 121, 66, 0.8);            }
            .textShadowHex {
                text-shadow: 4px 4px 2px #4F7942;            }
            .divShadow {
                -moz-box-shadow: 1px 1px 3px #4F7942;
-webkit-box-shadow: 1px 1px 3px #4F7942;
box-shadow: 1px 1px 3px #4F7942;            }
            
Text Shadow Using RGB Values

<p style="text-shadow: 4px 4px 2px rgba(79, 121, 66, 0.8);">Text here</p>

This text has a shadow with RGB values.

Text Shadow Using Hex Values

<p style="text-shadow: 4px 4px 2px #4F7942;">Text here</p>

This text has a shadow with hexadecimal (hex) values.

Shadow Div Box

<div style="-moz-box-shadow: 1px 1px 3px #4F7942; -webkit-box-shadow: 1px 1px 3px #4F7942; box-shadow: 1px 1px 3px #4F7942;">Div content here</div>

This div box has a shadow with a specified color. #4F7942
Scroll to Top