COLOR #4B7227

HEX: #4B7227
RGB: (75,114,39)

Color info

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

RGB color model

#4B7227 color RGB value is (75,114,39).

  • red value is 75;
  • green value is 114;
  • blue value is 39.
RGB:
(75,114,39)
(29%,45%,15%)

RGB channels and saturation

R 75 of 255 = 29%
G 114 of 255 = 45%
B 39 of 255 = 15%

75
114
39

R + G + B ~ 30%. #4B7227 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
75 + 114 + 39 = 228 (100%)
R 75 of 228 ~ 32.89%
G 114 of 228 ~ 50%
B 39 of 228 ~ 17.11%

%32.89
%50
%17.11

CMYK color model

#4B7227 color CMYK value is (34,0,66,55).

  • cyan value is 34.21%
  • magenta value is 0.00%
  • yellow value is 65.79%
  • key color value is 55.29%
CMYK:
(34,0,66,55)
C34M0Y66K55 
(34%,0%,66%,55%)
(0.34/0.00/0.66/0.55)	

CMYK percentages

%34.21
%0
%65.79
%55.29

Codes

Color #4B7227 in popluar color models

4B7227
RGB7511439
HSL91°49.02%30.00%
HSB/HSV91°65.79%44.71%
CMYK34.21%0.00%65.79%
55.29%

Color #4B7227 in popluar number systems.

HEX4B7227
Decimal7511439
Binary10010111110010100111
Octal11316247

Shades and tints

Shades of #4B7227

#4B7227
(75,114,39)
#456824
(69,104,36)
#3F5E21
(63,94,33)
#39541E
(57,84,30)
#334A1B
(51,74,27)
#2D4018
(45,64,24)
#273615
(39,54,21)
#212C12
(33,44,18)
#1B220F
(27,34,15)
#15180C
(21,24,12)
#0F0E09
(15,14,9)
#000000
(0,0,0)

Tints of #4B7227

#4B7227
(75,114,39)
#5B7E3A
(91,126,58)
#6B8A4D
(107,138,77)
#7B9660
(123,150,96)
#8BA273
(139,162,115)
#9BAE86
(155,174,134)
#ABBA99
(171,186,153)
#BBC6AC
(187,198,172)
#CBD2BF
(203,210,191)
#DBDED2
(219,222,210)
#EBEAE5
(235,234,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #4B7227 color. Also use rgb(75,114,39) instead hex code.

Text Font Color

.myTextColor { color: #4B7227; }

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

This text font color is #4B7227.


Background Color

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

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

This div background color is #4B7227.


Border color

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

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

This div border color is #4B7227.


Opacity

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

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

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

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

This text has shadow with #4B7227 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #4B7227 on black background.


Color preview on white background

This text has color #4B7227 on white background.



Black color preview on #4B7227 background

This text has black color on #4B7227 background.


White color preview on #4B7227 background

This text has white color on #4B7227 background.