COLOR #334836

HEX: #334836
RGB: (51,72,54)

Color info

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

RGB color model

#334836 color RGB value is (51,72,54).

  • red value is 51;
  • green value is 72;
  • blue value is 54.
RGB:
(51,72,54)
(20%,28%,21%)

RGB channels and saturation

R 51 of 255 = 20%
G 72 of 255 = 28%
B 54 of 255 = 21%

51
72
54

R + G + B ~ 23%. #334836 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 72 + 54 = 177 (100%)
R 51 of 177 ~ 28.81%
G 72 of 177 ~ 40.68%
B 54 of 177 ~ 30.51%

%28.81
%40.68
%30.51

CMYK color model

#334836 color CMYK value is (29,0,25,72).

  • cyan value is 29.17%
  • magenta value is 0.00%
  • yellow value is 25.00%
  • key color value is 71.76%
CMYK:
(29,0,25,72)
C29M0Y25K72 
(29%,0%,25%,72%)
(0.29/0.00/0.25/0.72)	

CMYK percentages

%29.17
%0
%25
%71.76

Codes

Color #334836 in popluar color models

334836
RGB517254
HSL129°17.07%24.12%
HSB/HSV129°29.17%28.24%
CMYK29.17%0.00%25.00%
71.76%

Color #334836 in popluar number systems.

HEX334836
Decimal517254
Binary1100111001000110110
Octal6311066

Shades and tints

Shades of #334836

#334836
(51,72,54)
#2F4232
(47,66,50)
#2B3C2E
(43,60,46)
#27362A
(39,54,42)
#233026
(35,48,38)
#1F2A22
(31,42,34)
#1B241E
(27,36,30)
#171E1A
(23,30,26)
#131816
(19,24,22)
#0F1212
(15,18,18)
#0B0C0E
(11,12,14)
#000000
(0,0,0)

Tints of #334836

#334836
(51,72,54)
#455848
(69,88,72)
#57685A
(87,104,90)
#69786C
(105,120,108)
#7B887E
(123,136,126)
#8D9890
(141,152,144)
#9FA8A2
(159,168,162)
#B1B8B4
(177,184,180)
#C3C8C6
(195,200,198)
#D5D8D8
(213,216,216)
#E7E8EA
(231,232,234)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #334836 color. Also use rgb(51,72,54) instead hex code.

Text Font Color

.myTextColor { color: #334836; }

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

This text font color is #334836.


Background Color

.myBgColor { background-color: #334836; }

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

This div background color is #334836.


Border color

.myBorderColor { border: 1px solid #334836; }

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

This div border color is #334836.


Opacity

.myOpacity80 { color: #334836; opacity: 0.8; }

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

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

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

This text has shadow with #334836 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #334836 on black background.


Color preview on white background

This text has color #334836 on white background.



Black color preview on #334836 background

This text has black color on #334836 background.


White color preview on #334836 background

This text has white color on #334836 background.