COLOR #334940

HEX: #334940
RGB: (51,73,64)

Color info

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

RGB color model

#334940 color RGB value is (51,73,64).

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

RGB channels and saturation

R 51 of 255 = 20%
G 73 of 255 = 29%
B 64 of 255 = 25%

51
73
64

R + G + B ~ 25%. #334940 is quite dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 73 + 64 = 188 (100%)
R 51 of 188 ~ 27.13%
G 73 of 188 ~ 38.83%
B 64 of 188 ~ 34.04%

%27.13
%38.83
%34.04

CMYK color model

#334940 color CMYK value is (30,0,12,71).

  • cyan value is 30.14%
  • magenta value is 0.00%
  • yellow value is 12.33%
  • key color value is 71.37%
CMYK:
(30,0,12,71)
C30M0Y12K71 
(30%,0%,12%,71%)
(0.30/0.00/0.12/0.71)	

CMYK percentages

%30.14
%0
%12.33
%71.37

Codes

Color #334940 in popluar color models

334940
RGB517364
HSL155°17.74%24.31%
HSB/HSV155°30.14%28.63%
CMYK30.14%0.00%12.33%
71.37%

Color #334940 in popluar number systems.

HEX334940
Decimal517364
Binary11001110010011000000
Octal63111100

Shades and tints

Shades of #334940

#334940
(51,73,64)
#2F433B
(47,67,59)
#2B3D36
(43,61,54)
#273731
(39,55,49)
#23312C
(35,49,44)
#1F2B27
(31,43,39)
#1B2522
(27,37,34)
#171F1D
(23,31,29)
#131918
(19,25,24)
#0F1313
(15,19,19)
#0B0D0E
(11,13,14)
#000000
(0,0,0)

Tints of #334940

#334940
(51,73,64)
#455951
(69,89,81)
#576962
(87,105,98)
#697973
(105,121,115)
#7B8984
(123,137,132)
#8D9995
(141,153,149)
#9FA9A6
(159,169,166)
#B1B9B7
(177,185,183)
#C3C9C8
(195,201,200)
#D5D9D9
(213,217,217)
#E7E9EA
(231,233,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #334940; }

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

This text font color is #334940.


Background Color

.myBgColor { background-color: #334940; }

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

This div background color is #334940.


Border color

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

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

This div border color is #334940.


Opacity

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

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

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

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

This text has shadow with #334940 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #334940 on black background.


Color preview on white background

This text has color #334940 on white background.



Black color preview on #334940 background

This text has black color on #334940 background.


White color preview on #334940 background

This text has white color on #334940 background.