COLOR #2A5720

HEX: #2A5720
RGB: (42,87,32)

Color info

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

RGB color model

#2A5720 color RGB value is (42,87,32).

  • red value is 42;
  • green value is 87;
  • blue value is 32.
RGB:
(42,87,32)
(16%,34%,13%)

RGB channels and saturation

R 42 of 255 = 16%
G 87 of 255 = 34%
B 32 of 255 = 13%

42
87
32

R + G + B ~ 21%. #2A5720 is dark color.

Portions of RGB colors in percentages

R + G + B =
42 + 87 + 32 = 161 (100%)
R 42 of 161 ~ 26.09%
G 87 of 161 ~ 54.04%
B 32 of 161 ~ 19.88%

%26.09
%54.04
%19.88

CMYK color model

#2A5720 color CMYK value is (52,0,63,66).

  • cyan value is 51.72%
  • magenta value is 0.00%
  • yellow value is 63.22%
  • key color value is 65.88%
CMYK:
(52,0,63,66)
C52M0Y63K66 
(52%,0%,63%,66%)
(0.52/0.00/0.63/0.66)	

CMYK percentages

%51.72
%0
%63.22
%65.88

Codes

Color #2A5720 in popluar color models

2A5720
RGB428732
HSL109°46.22%23.33%
HSB/HSV109°63.22%34.12%
CMYK51.72%0.00%63.22%
65.88%

Color #2A5720 in popluar number systems.

HEX2A5720
Decimal428732
Binary1010101010111100000
Octal5212740

Shades and tints

Shades of #2A5720

#2A5720
(42,87,32)
#27501E
(39,80,30)
#24491C
(36,73,28)
#21421A
(33,66,26)
#1E3B18
(30,59,24)
#1B3416
(27,52,22)
#182D14
(24,45,20)
#152612
(21,38,18)
#121F10
(18,31,16)
#0F180E
(15,24,14)
#0C110C
(12,17,12)
#000000
(0,0,0)

Tints of #2A5720

#2A5720
(42,87,32)
#3D6634
(61,102,52)
#507548
(80,117,72)
#63845C
(99,132,92)
#769370
(118,147,112)
#89A284
(137,162,132)
#9CB198
(156,177,152)
#AFC0AC
(175,192,172)
#C2CFC0
(194,207,192)
#D5DED4
(213,222,212)
#E8EDE8
(232,237,232)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A5720 color. Also use rgb(42,87,32) instead hex code.

Text Font Color

.myTextColor { color: #2A5720; }

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

This text font color is #2A5720.


Background Color

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

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

This div background color is #2A5720.


Border color

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

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

This div border color is #2A5720.


Opacity

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

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

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

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

This text has shadow with #2A5720 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A5720 on black background.


Color preview on white background

This text has color #2A5720 on white background.



Black color preview on #2A5720 background

This text has black color on #2A5720 background.


White color preview on #2A5720 background

This text has white color on #2A5720 background.