COLOR #2A4727

HEX: #2A4727
RGB: (42,71,39)

Color info

#2A4727 contains red, green and blue colors in about the same proportion. Web safe color of #2A4727 is #333333 (or #333).

RGB color model

#2A4727 color RGB value is (42,71,39).

  • red value is 42;
  • green value is 71;
  • blue value is 39.
RGB:
(42,71,39)
(16%,28%,15%)

RGB channels and saturation

R 42 of 255 = 16%
G 71 of 255 = 28%
B 39 of 255 = 15%

42
71
39

R + G + B ~ 20%. #2A4727 is dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 71 + 39 = 152 (100%)
R 42 of 152 ~ 27.63%
G 71 of 152 ~ 46.71%
B 39 of 152 ~ 25.66%

%27.63
%46.71
%25.66

CMYK color model

#2A4727 color CMYK value is (41,0,45,72).

  • cyan value is 40.85%
  • magenta value is 0.00%
  • yellow value is 45.07%
  • key color value is 72.16%
CMYK:
(41,0,45,72)
C41M0Y45K72 
(41%,0%,45%,72%)
(0.41/0.00/0.45/0.72)	

CMYK percentages

%40.85
%0
%45.07
%72.16

Codes

Color #2A4727 in popluar color models

2A4727
RGB427139
HSL114°29.09%21.57%
HSB/HSV114°45.07%27.84%
CMYK40.85%0.00%45.07%
72.16%

Color #2A4727 in popluar number systems.

HEX2A4727
Decimal427139
Binary1010101000111100111
Octal5210747

Shades and tints

Shades of #2A4727

#2A4727
(42,71,39)
#274124
(39,65,36)
#243B21
(36,59,33)
#21351E
(33,53,30)
#1E2F1B
(30,47,27)
#1B2918
(27,41,24)
#182315
(24,35,21)
#151D12
(21,29,18)
#12170F
(18,23,15)
#0F110C
(15,17,12)
#0C0B09
(12,11,9)
#000000
(0,0,0)

Tints of #2A4727

#2A4727
(42,71,39)
#3D573A
(61,87,58)
#50674D
(80,103,77)
#637760
(99,119,96)
#768773
(118,135,115)
#899786
(137,151,134)
#9CA799
(156,167,153)
#AFB7AC
(175,183,172)
#C2C7BF
(194,199,191)
#D5D7D2
(213,215,210)
#E8E7E5
(232,231,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A4727 color. Also use rgb(42,71,39) instead hex code.

Text Font Color

.myTextColor { color: #2A4727; }

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

This text font color is #2A4727.


Background Color

.myBgColor { background-color: #2A4727; }

<div style="background-color:#2A4727">Inner text</div>

This div background color is #2A4727.


Border color

.myBorderColor { border: 1px solid #2A4727; }

<div style="border:3px solid #2A4727">Div</div>

This div border color is #2A4727.


Opacity

.myOpacity80 { color: #2A4727; opacity: 0.8; }

<p style="color:#2A4727;opacity:0.8;">80%</p>

Text with #2A4727 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 #2A4727;}

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

This text has shadow with #2A4727 color.

.textShadow {text-shadow: 3px 3px 1px #2A4727, 3px 3px 1px red;}

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

This text has shadow with #2A4727 primary color and red secondary color.


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

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

This text has shadow with #2A4727 and red colors in old Internet Explorer.


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A4727 on black background.


Color preview on white background

This text has color #2A4727 on white background.



Black color preview on #2A4727 background

This text has black color on #2A4727 background.


White color preview on #2A4727 background

This text has white color on #2A4727 background.