COLOR #334918

HEX: #334918
RGB: (51,73,24)

Color info

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

RGB color model

#334918 color RGB value is (51,73,24).

  • red value is 51;
  • green value is 73;
  • blue value is 24.
RGB:
(51,73,24)
(20%,29%,9%)

RGB channels and saturation

R 51 of 255 = 20%
G 73 of 255 = 29%
B 24 of 255 = 9%

51
73
24

R + G + B ~ 19%. #334918 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 73 + 24 = 148 (100%)
R 51 of 148 ~ 34.46%
G 73 of 148 ~ 49.32%
B 24 of 148 ~ 16.22%

%34.46
%49.32
%16.22

CMYK color model

#334918 color CMYK value is (30,0,67,71).

  • cyan value is 30.14%
  • magenta value is 0.00%
  • yellow value is 67.12%
  • key color value is 71.37%
CMYK:
(30,0,67,71)
C30M0Y67K71 
(30%,0%,67%,71%)
(0.30/0.00/0.67/0.71)	

CMYK percentages

%30.14
%0
%67.12
%71.37

Codes

Color #334918 in popluar color models

334918
RGB517324
HSL87°50.52%19.02%
HSB/HSV87°67.12%28.63%
CMYK30.14%0.00%67.12%
71.37%

Color #334918 in popluar number systems.

HEX334918
Decimal517324
Binary110011100100111000
Octal6311130

Shades and tints

Shades of #334918

#334918
(51,73,24)
#2F4316
(47,67,22)
#2B3D14
(43,61,20)
#273712
(39,55,18)
#233110
(35,49,16)
#1F2B0E
(31,43,14)
#1B250C
(27,37,12)
#171F0A
(23,31,10)
#131908
(19,25,8)
#0F1306
(15,19,6)
#0B0D04
(11,13,4)
#000000
(0,0,0)

Tints of #334918

#334918
(51,73,24)
#45592D
(69,89,45)
#576942
(87,105,66)
#697957
(105,121,87)
#7B896C
(123,137,108)
#8D9981
(141,153,129)
#9FA996
(159,169,150)
#B1B9AB
(177,185,171)
#C3C9C0
(195,201,192)
#D5D9D5
(213,217,213)
#E7E9EA
(231,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #334918; }

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

This text font color is #334918.


Background Color

.myBgColor { background-color: #334918; }

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

This div background color is #334918.


Border color

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

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

This div border color is #334918.


Opacity

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

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

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

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

This text has shadow with #334918 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #334918 on black background.


Color preview on white background

This text has color #334918 on white background.



Black color preview on #334918 background

This text has black color on #334918 background.


White color preview on #334918 background

This text has white color on #334918 background.