COLOR #2A5621

HEX: #2A5621
RGB: (42,86,33)

Color info

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

RGB color model

#2A5621 color RGB value is (42,86,33).

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

RGB channels and saturation

R 42 of 255 = 16%
G 86 of 255 = 34%
B 33 of 255 = 13%

42
86
33

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

Portions of RGB colors in percentages

R + G + B =
42 + 86 + 33 = 161 (100%)
R 42 of 161 ~ 26.09%
G 86 of 161 ~ 53.42%
B 33 of 161 ~ 20.5%

%26.09
%53.42
%20.5

CMYK color model

#2A5621 color CMYK value is (51,0,62,66).

  • cyan value is 51.16%
  • magenta value is 0.00%
  • yellow value is 61.63%
  • key color value is 66.27%
CMYK:
(51,0,62,66)
C51M0Y62K66 
(51%,0%,62%,66%)
(0.51/0.00/0.62/0.66)	

CMYK percentages

%51.16
%0
%61.63
%66.27

Codes

Color #2A5621 in popluar color models

2A5621
RGB428633
HSL110°44.54%23.33%
HSB/HSV110°61.63%33.73%
CMYK51.16%0.00%61.63%
66.27%

Color #2A5621 in popluar number systems.

HEX2A5621
Decimal428633
Binary1010101010110100001
Octal5212641

Shades and tints

Shades of #2A5621

#2A5621
(42,86,33)
#274F1E
(39,79,30)
#24481B
(36,72,27)
#214118
(33,65,24)
#1E3A15
(30,58,21)
#1B3312
(27,51,18)
#182C0F
(24,44,15)
#15250C
(21,37,12)
#121E09
(18,30,9)
#0F1706
(15,23,6)
#0C1003
(12,16,3)
#000000
(0,0,0)

Tints of #2A5621

#2A5621
(42,86,33)
#3D6535
(61,101,53)
#507449
(80,116,73)
#63835D
(99,131,93)
#769271
(118,146,113)
#89A185
(137,161,133)
#9CB099
(156,176,153)
#AFBFAD
(175,191,173)
#C2CEC1
(194,206,193)
#D5DDD5
(213,221,213)
#E8ECE9
(232,236,233)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A5621 color. Also use rgb(42,86,33) instead hex code.

Text Font Color

.myTextColor { color: #2A5621; }

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

This text font color is #2A5621.


Background Color

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

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

This div background color is #2A5621.


Border color

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

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

This div border color is #2A5621.


Opacity

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

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

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

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

This text has shadow with #2A5621 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A5621 on black background.


Color preview on white background

This text has color #2A5621 on white background.



Black color preview on #2A5621 background

This text has black color on #2A5621 background.


White color preview on #2A5621 background

This text has white color on #2A5621 background.