COLOR #2A5229

HEX: #2A5229
RGB: (42,82,41)

Color info

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

RGB color model

#2A5229 color RGB value is (42,82,41).

  • red value is 42;
  • green value is 82;
  • blue value is 41.
RGB:
(42,82,41)
(16%,32%,16%)

RGB channels and saturation

R 42 of 255 = 16%
G 82 of 255 = 32%
B 41 of 255 = 16%

42
82
41

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

Portions of RGB colors in percentages

R + G + B =
42 + 82 + 41 = 165 (100%)
R 42 of 165 ~ 25.45%
G 82 of 165 ~ 49.7%
B 41 of 165 ~ 24.85%

%25.45
%49.7
%24.85

CMYK color model

#2A5229 color CMYK value is (49,0,50,68).

  • cyan value is 48.78%
  • magenta value is 0.00%
  • yellow value is 50.00%
  • key color value is 67.84%
CMYK:
(49,0,50,68)
C49M0Y50K68 
(49%,0%,50%,68%)
(0.49/0.00/0.50/0.68)	

CMYK percentages

%48.78
%0
%50
%67.84

Codes

Color #2A5229 in popluar color models

2A5229
RGB428241
HSL119°33.33%24.12%
HSB/HSV119°50.00%32.16%
CMYK48.78%0.00%50.00%
67.84%

Color #2A5229 in popluar number systems.

HEX2A5229
Decimal428241
Binary1010101010010101001
Octal5212251

Shades and tints

Shades of #2A5229

#2A5229
(42,82,41)
#274B26
(39,75,38)
#244423
(36,68,35)
#213D20
(33,61,32)
#1E361D
(30,54,29)
#1B2F1A
(27,47,26)
#182817
(24,40,23)
#152114
(21,33,20)
#121A11
(18,26,17)
#0F130E
(15,19,14)
#0C0C0B
(12,12,11)
#000000
(0,0,0)

Tints of #2A5229

#2A5229
(42,82,41)
#3D613C
(61,97,60)
#50704F
(80,112,79)
#637F62
(99,127,98)
#768E75
(118,142,117)
#899D88
(137,157,136)
#9CAC9B
(156,172,155)
#AFBBAE
(175,187,174)
#C2CAC1
(194,202,193)
#D5D9D4
(213,217,212)
#E8E8E7
(232,232,231)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A5229 color. Also use rgb(42,82,41) instead hex code.

Text Font Color

.myTextColor { color: #2A5229; }

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

This text font color is #2A5229.


Background Color

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

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

This div background color is #2A5229.


Border color

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

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

This div border color is #2A5229.


Opacity

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

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

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

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

This text has shadow with #2A5229 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A5229 on black background.


Color preview on white background

This text has color #2A5229 on white background.



Black color preview on #2A5229 background

This text has black color on #2A5229 background.


White color preview on #2A5229 background

This text has white color on #2A5229 background.