COLOR #2A4918

HEX: #2A4918 RGB: (42,73,24)

Color info

#2A4918 contains red, green and blue colors in about the same proportion. Web safe color of #2A4918 is #333300 (or #330).

RGB color model

#2A4918 color RGB value is (42,73,24).

RGB: (42,73,24) (16%, 29%, 9%)

RGB channels and saturation

R 42 of 255 = 16%
G 73 of 255 = 29%
B 24 of 255 = 9%

42
73
24

R + G + B ~ 18%. #2A4918 is dark color.

Portions of RGB colors in percentages

R + G + B = 42 + 73 + 24 = 139 (100%)
R 42 of 139 ~ 30.22%
G 73 of 139 ~ 52.52%
B 24 of 139 ~ 17.27'%

%30.22
%52.52
%17.27

CMYK color model

#2A4918 color CMYK value is (42,0,67,71).

  • cyan value is 42.47%
  • magenta value is 0.00%
  • yellow value is 67.12%
  • key color value is 71.37%

CMYK: (42,0,67,71)
C42M0Y67K71 (42%, 0%, 67%, 71%)
(0.42 / 0.00 / 0.67 / 0.71)

CMYK percentages

%42.47
%0
%67.12
%71.37

Codes

Color #2A4918 in popluar color models

2A 49 18
RGB 42 73 24
HSL 98° 50.52% 19.02%
HSB/HSV 98° 67.12% 28.63%
CMYK 42.47% 0.00% 67.12%
71.37%

Color #2A4918 in popluar number systems.

HEX 2A 49 18
Decimal 42 73 24
Binary 101010 1001001 11000
Octal 52 111 30

Shades and tints

Shades of #2A4918

#2A4918
(42,73,24)
#274316
(39,67,22)
#243D14
(36,61,20)
#213712
(33,55,18)
#1E3110
(30,49,16)
#1B2B0E
(27,43,14)
#18250C
(24,37,12)
#151F0A
(21,31,10)
#121908
(18,25,8)
#0F1306
(15,19,6)
#0C0D04
(12,13,4)
#000000
(0,0,0)

Tints of #2A4918

#2A4918
(42,73,24)
#3D592D
(61,89,45)
#506942
(80,105,66)
#637957
(99,121,87)
#76896C
(118,137,108)
#899981
(137,153,129)
#9CA996
(156,169,150)
#AFB9AB
(175,185,171)
#C2C9C0
(194,201,192)
#D5D9D5
(213,217,213)
#E8E9EA
(232,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2A4918 color. Also use rgb(42,73,24) instead hex code.

Text Font Color

.myTextColor { color: #2A4918; }

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

This text font color is #2A4918.

Background Color

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

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

This div background color is #2A4918.

Border color

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

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

This div border color is #2A4918.

Opacity

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

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

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

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

This text has shadow with #2A4918 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #2A4918.

Preview

Color preview on black background

This text has color #2A4918 on black background.


Color preview on white background

This text has color #2A4918 on white background.


Black color preview on #2A4918 background

This text has black color on #2A4918 background.


White color preview on #2A4918 background

This text has white color on #2A4918 background.


Related colors

Complementary color

Complementary color for #hex is #D5B6E7.


I love getcolorcode.com

Triadic colors

1 #182A49 and #49182A with #2A4918 are triadic colors.

2 #18492A and #492A18 with #2A4918 are triadic colors.