COLOR #342942

HEX: #342942 RGB: (52,41,66)

Color info

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

RGB color model

#342942 color RGB value is (52,41,66).

RGB: (52,41,66) (20%, 16%, 26%)

RGB channels and saturation

R 52 of 255 = 20%
G 41 of 255 = 16%
B 66 of 255 = 26%

52
41
66

R + G + B ~ 21%. #342942 is dark color.

Portions of RGB colors in percentages

R + G + B = 52 + 41 + 66 = 159 (100%)
R 52 of 159 ~ 32.7%
G 41 of 159 ~ 25.79%
B 66 of 159 ~ 41.51'%

%32.7
%25.79
%41.51

CMYK color model

#342942 color CMYK value is (21,38,0,74).

  • cyan value is 21.21%
  • magenta value is 37.88%
  • yellow value is 0.00%
  • key color value is 74.12%
CMYK: (21,38,0,74) C21M38Y0K74 (21%,38%,0%,74%) (0.21/0.38/0.00/0.74) 

CMYK percentages

%21.21
%37.88
%0
%74.12

Codes

Color #342942 in popluar color models

34 29 42
RGB 52 41 66
HSL 266° 23.36% 20.98%
HSB/HSV 266° 37.88% 25.88%
CMYK 21.21% 37.88% 0.00%
74.12%

Color #342942 in popluar number systems.

HEX 34 29 42
Decimal 52 41 66
Binary 110100 101001 1000010
Octal 64 51 102

Shades and tints

Shades of #342942

#342942
(52,41,66)
#30263C
(48,38,60)
#2C2336
(44,35,54)
#282030
(40,32,48)
#241D2A
(36,29,42)
#201A24
(32,26,36)
#1C171E
(28,23,30)
#181418
(24,20,24)
#141112
(20,17,18)
#100E0C
(16,14,12)
#0C0B06
(12,11,6)
#000000
(0,0,0)

Tints of #342942

#342942
(52,41,66)
#463C53
(70,60,83)
#584F64
(88,79,100)
#6A6275
(106,98,117)
#7C7586
(124,117,134)
#8E8897
(142,136,151)
#A09BA8
(160,155,168)
#B2AEB9
(178,174,185)
#C4C1CA
(196,193,202)
#D6D4DB
(214,212,219)
#E8E7EC
(232,231,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #342942 color. Also use rgb(52,41,66) instead hex code.

Text Font Color

.myTextColor { color: #342942; }

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

This text font color is #342942.

Background Color

.myBgColor { background-color: #342942; }

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

This div background color is #342942.

Border color

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

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

This div border color is #342942.

Opacity

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

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

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

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

This text has shadow with #342942 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #342942.

Preview

Color preview on black background

This text has color #342942 on black background.


Color preview on white background

This text has color #342942 on white background.


Black color preview on #342942 background

This text has black color on #342942 background.


White color preview on #342942 background

This text has white color on #342942 background.


Related colors

Complementary color

Complementary color for #hex is #CBD6BD.


I love getcolorcode.com

Triadic colors

1 #423429 and #294234 with #342942 are triadic colors.

2 #422934 and #293442 with #342942 are triadic colors.