COLOR #334942

HEX: #334942
RGB: (51,73,66)

Color info

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

RGB color model

#334942 color RGB value is (51,73,66).

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

RGB channels and saturation

R 51 of 255 = 20%
G 73 of 255 = 29%
B 66 of 255 = 26%

51
73
66

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

Portions of RGB colors in percentages

R + G + B =
51 + 73 + 66 = 190 (100%)
R 51 of 190 ~ 26.84%
G 73 of 190 ~ 38.42%
B 66 of 190 ~ 34.74%

%26.84
%38.42
%34.74

CMYK color model

#334942 color CMYK value is (30,0,10,71).

  • cyan value is 30.14%
  • magenta value is 0.00%
  • yellow value is 9.59%
  • key color value is 71.37%
CMYK:
(30,0,10,71)
C30M0Y10K71 
(30%,0%,10%,71%)
(0.30/0.00/0.10/0.71)	

CMYK percentages

%30.14
%0
%9.59
%71.37

Codes

Color #334942 in popluar color models

334942
RGB517366
HSL161°17.74%24.31%
HSB/HSV161°30.14%28.63%
CMYK30.14%0.00%9.59%
71.37%

Color #334942 in popluar number systems.

HEX334942
Decimal517366
Binary11001110010011000010
Octal63111102

Shades and tints

Shades of #334942

#334942
(51,73,66)
#2F433C
(47,67,60)
#2B3D36
(43,61,54)
#273730
(39,55,48)
#23312A
(35,49,42)
#1F2B24
(31,43,36)
#1B251E
(27,37,30)
#171F18
(23,31,24)
#131912
(19,25,18)
#0F130C
(15,19,12)
#0B0D06
(11,13,6)
#000000
(0,0,0)

Tints of #334942

#334942
(51,73,66)
#455953
(69,89,83)
#576964
(87,105,100)
#697975
(105,121,117)
#7B8986
(123,137,134)
#8D9997
(141,153,151)
#9FA9A8
(159,169,168)
#B1B9B9
(177,185,185)
#C3C9CA
(195,201,202)
#D5D9DB
(213,217,219)
#E7E9EC
(231,233,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #334942; }

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

This text font color is #334942.


Background Color

.myBgColor { background-color: #334942; }

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

This div background color is #334942.


Border color

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

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

This div border color is #334942.


Opacity

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

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

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

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

This text has shadow with #334942 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #334942 on black background.


Color preview on white background

This text has color #334942 on white background.



Black color preview on #334942 background

This text has black color on #334942 background.


White color preview on #334942 background

This text has white color on #334942 background.