COLOR #2A4828

HEX: #2A4828
RGB: (42,72,40)

Color info

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

RGB color model

#2A4828 color RGB value is (42,72,40).

  • red value is 42;
  • green value is 72;
  • blue value is 40.
RGB:
(42,72,40)
(16%,28%,16%)

RGB channels and saturation

R 42 of 255 = 16%
G 72 of 255 = 28%
B 40 of 255 = 16%

42
72
40

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

Portions of RGB colors in percentages

R + G + B =
42 + 72 + 40 = 154 (100%)
R 42 of 154 ~ 27.27%
G 72 of 154 ~ 46.75%
B 40 of 154 ~ 25.97%

%27.27
%46.75
%25.97

CMYK color model

#2A4828 color CMYK value is (42,0,44,72).

  • cyan value is 41.67%
  • magenta value is 0.00%
  • yellow value is 44.44%
  • key color value is 71.76%
CMYK:
(42,0,44,72)
C42M0Y44K72 
(42%,0%,44%,72%)
(0.42/0.00/0.44/0.72)	

CMYK percentages

%41.67
%0
%44.44
%71.76

Codes

Color #2A4828 in popluar color models

2A4828
RGB427240
HSL116°28.57%21.96%
HSB/HSV116°44.44%28.24%
CMYK41.67%0.00%44.44%
71.76%

Color #2A4828 in popluar number systems.

HEX2A4828
Decimal427240
Binary1010101001000101000
Octal5211050

Shades and tints

Shades of #2A4828

#2A4828
(42,72,40)
#274225
(39,66,37)
#243C22
(36,60,34)
#21361F
(33,54,31)
#1E301C
(30,48,28)
#1B2A19
(27,42,25)
#182416
(24,36,22)
#151E13
(21,30,19)
#121810
(18,24,16)
#0F120D
(15,18,13)
#0C0C0A
(12,12,10)
#000000
(0,0,0)

Tints of #2A4828

#2A4828
(42,72,40)
#3D583B
(61,88,59)
#50684E
(80,104,78)
#637861
(99,120,97)
#768874
(118,136,116)
#899887
(137,152,135)
#9CA89A
(156,168,154)
#AFB8AD
(175,184,173)
#C2C8C0
(194,200,192)
#D5D8D3
(213,216,211)
#E8E8E6
(232,232,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A4828 color. Also use rgb(42,72,40) instead hex code.

Text Font Color

.myTextColor { color: #2A4828; }

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

This text font color is #2A4828.


Background Color

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

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

This div background color is #2A4828.


Border color

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

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

This div border color is #2A4828.


Opacity

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

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

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

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

This text has shadow with #2A4828 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2A4828 on black background.


Color preview on white background

This text has color #2A4828 on white background.



Black color preview on #2A4828 background

This text has black color on #2A4828 background.


White color preview on #2A4828 background

This text has white color on #2A4828 background.