COLOR #4B7E40

HEX: #4B7E40
RGB: (75,126,64)

Color info

#4B7E40 contains mainly red and green colors. Web safe color of #4B7E40 is #336633 (or #363).

RGB color model

#4B7E40 color RGB value is (75,126,64).

  • red value is 75;
  • green value is 126;
  • blue value is 64.
RGB:
(75,126,64)
(29%,49%,25%)

RGB channels and saturation

R 75 of 255 = 29%
G 126 of 255 = 49%
B 64 of 255 = 25%

75
126
64

R + G + B ~ 34%. #4B7E40 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
75 + 126 + 64 = 265 (100%)
R 75 of 265 ~ 28.3%
G 126 of 265 ~ 47.55%
B 64 of 265 ~ 24.15%

%28.3
%47.55
%24.15

CMYK color model

#4B7E40 color CMYK value is (40,0,49,51).

  • cyan value is 40.48%
  • magenta value is 0.00%
  • yellow value is 49.21%
  • key color value is 50.59%
CMYK:
(40,0,49,51)
C40M0Y49K51 
(40%,0%,49%,51%)
(0.40/0.00/0.49/0.51)	

CMYK percentages

%40.48
%0
%49.21
%50.59

Codes

Color #4B7E40 in popluar color models

4B7E40
RGB7512664
HSL109°32.63%37.25%
HSB/HSV109°49.21%49.41%
CMYK40.48%0.00%49.21%
50.59%

Color #4B7E40 in popluar number systems.

HEX4B7E40
Decimal7512664
Binary100101111111101000000
Octal113176100

Shades and tints

Shades of #4B7E40

#4B7E40
(75,126,64)
#45733B
(69,115,59)
#3F6836
(63,104,54)
#395D31
(57,93,49)
#33522C
(51,82,44)
#2D4727
(45,71,39)
#273C22
(39,60,34)
#21311D
(33,49,29)
#1B2618
(27,38,24)
#151B13
(21,27,19)
#0F100E
(15,16,14)
#000000
(0,0,0)

Tints of #4B7E40

#4B7E40
(75,126,64)
#5B8951
(91,137,81)
#6B9462
(107,148,98)
#7B9F73
(123,159,115)
#8BAA84
(139,170,132)
#9BB595
(155,181,149)
#ABC0A6
(171,192,166)
#BBCBB7
(187,203,183)
#CBD6C8
(203,214,200)
#DBE1D9
(219,225,217)
#EBECEA
(235,236,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4B7E40 color. Also use rgb(75,126,64) instead hex code.

Text Font Color

.myTextColor { color: #4B7E40; }

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

This text font color is #4B7E40.


Background Color

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

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

This div background color is #4B7E40.


Border color

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

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

This div border color is #4B7E40.


Opacity

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

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

Text with #4B7E40 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 #4B7E40;}

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

This text has shadow with #4B7E40 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4B7E40 on black background.


Color preview on white background

This text has color #4B7E40 on white background.



Black color preview on #4B7E40 background

This text has black color on #4B7E40 background.


White color preview on #4B7E40 background

This text has white color on #4B7E40 background.