COLOR #334042

HEX: #334042
RGB: (51,64,66)

Color info

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

RGB color model

#334042 color RGB value is (51,64,66).

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

RGB channels and saturation

R 51 of 255 = 20%
G 64 of 255 = 25%
B 66 of 255 = 26%

51
64
66

R + G + B ~ 24%. #334042 is dark color.

Portions of RGB colors in percentages

R + G + B =
51 + 64 + 66 = 181 (100%)
R 51 of 181 ~ 28.18%
G 64 of 181 ~ 35.36%
B 66 of 181 ~ 36.46%

%28.18
%35.36
%36.46

CMYK color model

#334042 color CMYK value is (23,3,0,74).

  • cyan value is 22.73%
  • magenta value is 3.03%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK:
(23,3,0,74)
C23M3Y0K74 
(23%,3%,0%,74%)
(0.23/0.03/0.00/0.74)	

CMYK percentages

%22.73
%3.03
%0
%74.12

Codes

Color #334042 in popluar color models

334042
RGB516466
HSL188°12.82%22.94%
HSB/HSV188°22.73%25.88%
CMYK22.73%3.03%0.00%
74.12%

Color #334042 in popluar number systems.

HEX334042
Decimal516466
Binary11001110000001000010
Octal63100102

Shades and tints

Shades of #334042

#334042
(51,64,66)
#2F3B3C
(47,59,60)
#2B3636
(43,54,54)
#273130
(39,49,48)
#232C2A
(35,44,42)
#1F2724
(31,39,36)
#1B221E
(27,34,30)
#171D18
(23,29,24)
#131812
(19,24,18)
#0F130C
(15,19,12)
#0B0E06
(11,14,6)
#000000
(0,0,0)

Tints of #334042

#334042
(51,64,66)
#455153
(69,81,83)
#576264
(87,98,100)
#697375
(105,115,117)
#7B8486
(123,132,134)
#8D9597
(141,149,151)
#9FA6A8
(159,166,168)
#B1B7B9
(177,183,185)
#C3C8CA
(195,200,202)
#D5D9DB
(213,217,219)
#E7EAEC
(231,234,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #334042; }

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

This text font color is #334042.


Background Color

.myBgColor { background-color: #334042; }

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

This div background color is #334042.


Border color

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

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

This div border color is #334042.


Opacity

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

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

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

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

This text has shadow with #334042 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #334042 on black background.


Color preview on white background

This text has color #334042 on white background.



Black color preview on #334042 background

This text has black color on #334042 background.


White color preview on #334042 background

This text has white color on #334042 background.