COLOR #2B4912

HEX: #2B4912
RGB: (43,73,18)

Color info

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

RGB color model

#2B4912 color RGB value is (43,73,18).

  • red value is 43;
  • green value is 73;
  • blue value is 18.
RGB:
(43,73,18)
(17%,29%,7%)

RGB channels and saturation

R 43 of 255 = 17%
G 73 of 255 = 29%
B 18 of 255 = 7%

43
73
18

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

Portions of RGB colors in percentages

R + G + B =
43 + 73 + 18 = 134 (100%)
R 43 of 134 ~ 32.09%
G 73 of 134 ~ 54.48%
B 18 of 134 ~ 13.43%

%32.09
%54.48
%13.43

CMYK color model

#2B4912 color CMYK value is (41,0,75,71).

  • cyan value is 41.10%
  • magenta value is 0.00%
  • yellow value is 75.34%
  • key color value is 71.37%
CMYK:
(41,0,75,71)
C41M0Y75K71 
(41%,0%,75%,71%)
(0.41/0.00/0.75/0.71)	

CMYK percentages

%41.1
%0
%75.34
%71.37

Codes

Color #2B4912 in popluar color models

2B4912
RGB437318
HSL93°60.44%17.84%
HSB/HSV93°75.34%28.63%
CMYK41.10%0.00%75.34%
71.37%

Color #2B4912 in popluar number systems.

HEX2B4912
Decimal437318
Binary101011100100110010
Octal5311122

Shades and tints

Shades of #2B4912

#2B4912
(43,73,18)
#284311
(40,67,17)
#253D10
(37,61,16)
#22370F
(34,55,15)
#1F310E
(31,49,14)
#1C2B0D
(28,43,13)
#19250C
(25,37,12)
#161F0B
(22,31,11)
#13190A
(19,25,10)
#101309
(16,19,9)
#0D0D08
(13,13,8)
#000000
(0,0,0)

Tints of #2B4912

#2B4912
(43,73,18)
#3E5927
(62,89,39)
#51693C
(81,105,60)
#647951
(100,121,81)
#778966
(119,137,102)
#8A997B
(138,153,123)
#9DA990
(157,169,144)
#B0B9A5
(176,185,165)
#C3C9BA
(195,201,186)
#D6D9CF
(214,217,207)
#E9E9E4
(233,233,228)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #2B4912 color. Also use rgb(43,73,18) instead hex code.

Text Font Color

.myTextColor { color: #2B4912; }

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

This text font color is #2B4912.


Background Color

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

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

This div background color is #2B4912.


Border color

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

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

This div border color is #2B4912.


Opacity

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

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

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

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

This text has shadow with #2B4912 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #2B4912 on black background.


Color preview on white background

This text has color #2B4912 on white background.



Black color preview on #2B4912 background

This text has black color on #2B4912 background.


White color preview on #2B4912 background

This text has white color on #2B4912 background.