COLOR #4A7C42

HEX: #4A7C42
RGB: (74,124,66)

Color info

#4A7C42 contains red, green and blue colors in about the same proportion. Web safe color of #4A7C42 is #336633 (or #363).

RGB color model

#4A7C42 color RGB value is (74,124,66).

  • red value is 74;
  • green value is 124;
  • blue value is 66.
RGB:
(74,124,66)
(29%,49%,26%)

RGB channels and saturation

R 74 of 255 = 29%
G 124 of 255 = 49%
B 66 of 255 = 26%

74
124
66

R + G + B ~ 35%. #4A7C42 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
74 + 124 + 66 = 264 (100%)
R 74 of 264 ~ 28.03%
G 124 of 264 ~ 46.97%
B 66 of 264 ~ 25%

%28.03
%46.97
%25

CMYK color model

#4A7C42 color CMYK value is (40,0,47,51).

  • cyan value is 40.32%
  • magenta value is 0.00%
  • yellow value is 46.77%
  • key color value is 51.37%
CMYK:
(40,0,47,51)
C40M0Y47K51 
(40%,0%,47%,51%)
(0.40/0.00/0.47/0.51)	

CMYK percentages

%40.32
%0
%46.77
%51.37

Codes

Color #4A7C42 in popluar color models

4A7C42
RGB7412466
HSL112°30.53%37.25%
HSB/HSV112°46.77%48.63%
CMYK40.32%0.00%46.77%
51.37%

Color #4A7C42 in popluar number systems.

HEX4A7C42
Decimal7412466
Binary100101011111001000010
Octal112174102

Shades and tints

Shades of #4A7C42

#4A7C42
(74,124,66)
#44713C
(68,113,60)
#3E6636
(62,102,54)
#385B30
(56,91,48)
#32502A
(50,80,42)
#2C4524
(44,69,36)
#263A1E
(38,58,30)
#202F18
(32,47,24)
#1A2412
(26,36,18)
#14190C
(20,25,12)
#0E0E06
(14,14,6)
#000000
(0,0,0)

Tints of #4A7C42

#4A7C42
(74,124,66)
#5A8753
(90,135,83)
#6A9264
(106,146,100)
#7A9D75
(122,157,117)
#8AA886
(138,168,134)
#9AB397
(154,179,151)
#AABEA8
(170,190,168)
#BAC9B9
(186,201,185)
#CAD4CA
(202,212,202)
#DADFDB
(218,223,219)
#EAEAEC
(234,234,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4A7C42 color. Also use rgb(74,124,66) instead hex code.

Text Font Color

.myTextColor { color: #4A7C42; }

<p style="color:#4A7C42">This sample text font color is #4A7C42.</p>

This text font color is #4A7C42.


Background Color

.myBgColor { background-color: #4A7C42; }

<div style="background-color:#4A7C42">Inner text</div>

This div background color is #4A7C42.


Border color

.myBorderColor { border: 1px solid #4A7C42; }

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

This div border color is #4A7C42.


Opacity

.myOpacity80 { color: #4A7C42; opacity: 0.8; }

<p style="color:#4A7C42;opacity:0.8;">80%</p>

Text with #4A7C42 color and opacity 100% | 80% | 50% | 30%.

Background with opacity value 100%.

Background with opacity value 80%.

Background with opacity value 50%.

Background with opacity value 30%.

Text shadow color

.textShadow {text-shadow: 3px 3px 1px #4A7C42;}

<p style="text-shadow: 3px 3px 1px #4A7C42">Text here.</p>

This text has shadow with #4A7C42 color.

.textShadow {text-shadow: 3px 3px 1px #4A7C42, 3px 3px 1px red;}

<p style="text-shadow: 3px 3px 1px #4A7C42, 5px 5px 20px red">Text here.</p>

This text has shadow with #4A7C42 primary color and red secondary color.


Styles for old Internet Explorer:
.textShadow {filter: Shadow(Color=#4A7C42, Direction=45, Strength=4)}

<p style="filter: Shadow(Color=#4A7C42, Direction=45, Strength=4)">Text</p>

This text has shadow with #4A7C42 and red colors in old Internet Explorer.


Div box shadow color

/* css code */
.divShadow
{
  -moz-box-shadow:	1px 1px 3px 2px #4A7C42;
  -webkit-box-shadow:	1px 1px 3px 2px #4A7C42;
  box-shadow:		1px 1px 3px 2px #4A7C42;
}

/* html code with inline style */
<div style="-moz-box-shadow: 1px 1px 3px 2px #4A7C42;
-webkit-box-shadow: 1px 1px 3px 2px #4A7C42;
box-shadow:1px 1px 3px 2px #4A7C42;">
Div content here</div>
This div box has shadow with color #4A7C42.

Preview

Color preview on black background

This text has color #4A7C42 on black background.


Color preview on white background

This text has color #4A7C42 on white background.



Black color preview on #4A7C42 background

This text has black color on #4A7C42 background.


White color preview on #4A7C42 background

This text has white color on #4A7C42 background.