COLOR #4B7D40

HEX: #4B7D40
RGB: (75,125,64)

Color info

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

RGB color model

#4B7D40 color RGB value is (75,125,64).

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

RGB channels and saturation

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

75
125
64

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

Portions of RGB colors in percentages

R + G + B =
75 + 125 + 64 = 264 (100%)
R 75 of 264 ~ 28.41%
G 125 of 264 ~ 47.35%
B 64 of 264 ~ 24.24%

%28.41
%47.35
%24.24

CMYK color model

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

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

CMYK percentages

%40
%0
%48.8
%50.98

Codes

Color #4B7D40 in popluar color models

4B7D40
RGB7512564
HSL109°32.28%37.06%
HSB/HSV109°48.80%49.02%
CMYK40.00%0.00%48.80%
50.98%

Color #4B7D40 in popluar number systems.

HEX4B7D40
Decimal7512564
Binary100101111111011000000
Octal113175100

Shades and tints

Shades of #4B7D40

#4B7D40
(75,125,64)
#45723B
(69,114,59)
#3F6736
(63,103,54)
#395C31
(57,92,49)
#33512C
(51,81,44)
#2D4627
(45,70,39)
#273B22
(39,59,34)
#21301D
(33,48,29)
#1B2518
(27,37,24)
#151A13
(21,26,19)
#0F0F0E
(15,15,14)
#000000
(0,0,0)

Tints of #4B7D40

#4B7D40
(75,125,64)
#5B8851
(91,136,81)
#6B9362
(107,147,98)
#7B9E73
(123,158,115)
#8BA984
(139,169,132)
#9BB495
(155,180,149)
#ABBFA6
(171,191,166)
#BBCAB7
(187,202,183)
#CBD5C8
(203,213,200)
#DBE0D9
(219,224,217)
#EBEBEA
(235,235,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #4B7D40; }

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

This text font color is #4B7D40.


Background Color

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

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

This div background color is #4B7D40.


Border color

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

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

This div border color is #4B7D40.


Opacity

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

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

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

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

This text has shadow with #4B7D40 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4B7D40 on black background.


Color preview on white background

This text has color #4B7D40 on white background.



Black color preview on #4B7D40 background

This text has black color on #4B7D40 background.


White color preview on #4B7D40 background

This text has white color on #4B7D40 background.