COLOR #2A4F31

HEX: #2A4F31 RGB: (42,79,49)

Color info

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

RGB color model

#2A4F31 color RGB value is (42,79,49).

RGB: (42,79,49) (16%, 31%, 19%)

RGB channels and saturation

R 42 of 255 = 16%
G 79 of 255 = 31%
B 49 of 255 = 19%

42
79
49

R + G + B ~ 22%. #2A4F31 is dark color.

Portions of RGB colors in percentages

R + G + B = 42 + 79 + 49 = 170 (100%)
R 42 of 170 ~ 24.71%
G 79 of 170 ~ 46.47%
B 49 of 170 ~ 28.82'%

%24.71
%46.47
%28.82

CMYK color model

#2A4F31 color CMYK value is (47,0,38,69).

  • cyan value is 46.84%
  • magenta value is 0.00%
  • yellow value is 37.97%
  • key color value is 69.02%

CMYK: (47,0,38,69)
C47M0Y38K69 (47%, 0%, 38%, 69%)
(0.47 / 0.00 / 0.38 / 0.69)

CMYK percentages

%46.84
%0
%37.97
%69.02

Codes

Color #2A4F31 in popluar color models

2A 4F 31
RGB 42 79 49
HSL 131° 30.58% 23.73%
HSB/HSV 131° 46.84% 30.98%
CMYK 46.84% 0.00% 37.97%
69.02%

Color #2A4F31 in popluar number systems.

HEX 2A 4F 31
Decimal 42 79 49
Binary 101010 1001111 110001
Octal 52 117 61

Shades and tints

Shades of #2A4F31

#2A4F31
(42,79,49)
#27482D
(39,72,45)
#244129
(36,65,41)
#213A25
(33,58,37)
#1E3321
(30,51,33)
#1B2C1D
(27,44,29)
#182519
(24,37,25)
#151E15
(21,30,21)
#121711
(18,23,17)
#0F100D
(15,16,13)
#0C0909
(12,9,9)
#000000
(0,0,0)

Tints of #2A4F31

#2A4F31
(42,79,49)
#3D5F43
(61,95,67)
#506F55
(80,111,85)
#637F67
(99,127,103)
#768F79
(118,143,121)
#899F8B
(137,159,139)
#9CAF9D
(156,175,157)
#AFBFAF
(175,191,175)
#C2CFC1
(194,207,193)
#D5DFD3
(213,223,211)
#E8EFE5
(232,239,229)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A4F31 color. Also use rgb(42,79,49) instead hex code.

Text Font Color

.myTextColor { color: #2A4F31; }

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

This text font color is #2A4F31.

Background Color

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

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

This div background color is #2A4F31.

Border color

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

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

This div border color is #2A4F31.

Opacity

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

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

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

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

This text has shadow with #2A4F31 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2A4F31.

Preview

Color preview on black background

This text has color #2A4F31 on black background.


Color preview on white background

This text has color #2A4F31 on white background.


Black color preview on #2A4F31 background

This text has black color on #2A4F31 background.


White color preview on #2A4F31 background

This text has white color on #2A4F31 background.


Related colors

Complementary color

Complementary color for #hex is #D5B0CE.


I love getcolorcode.com

Triadic colors

1 #312A4F and #4F312A with #2A4F31 are triadic colors.

2 #314F2A and #4F2A31 with #2A4F31 are triadic colors.