COLOR #342D4E

HEX: #342D4E RGB: (52,45,78)

Color info

#342D4E contains red, green and blue colors in about the same proportion. Web safe color of #342D4E is #333366 (or #336).

RGB color model

#342D4E color RGB value is (52,45,78).

RGB: (52,45,78) (20%, 18%, 31%)

RGB channels and saturation

R 52 of 255 = 20%
G 45 of 255 = 18%
B 78 of 255 = 31%

52
45
78

R + G + B ~ 23%. #342D4E is dark color.

Portions of RGB colors in percentages

R + G + B = 52 + 45 + 78 = 175 (100%)
R 52 of 175 ~ 29.71%
G 45 of 175 ~ 25.71%
B 78 of 175 ~ 44.57'%

%29.71
%25.71
%44.57

CMYK color model

#342D4E color CMYK value is (33,42,0,69).

  • cyan value is 33.33%
  • magenta value is 42.31%
  • yellow value is 0.00%
  • key color value is 69.41%

CMYK: (33,42,0,69)
C33M42Y0K69 (33%, 42%, 0%, 69%)
(0.33 / 0.42 / 0.00 / 0.69)

CMYK percentages

%33.33
%42.31
%0
%69.41

Codes

Color #342D4E in popluar color models

34 2D 4E
RGB 52 45 78
HSL 253° 26.83% 24.12%
HSB/HSV 253° 42.31% 30.59%
CMYK 33.33% 42.31% 0.00%
69.41%

Color #342D4E in popluar number systems.

HEX 34 2D 4E
Decimal 52 45 78
Binary 110100 101101 1001110
Octal 64 55 116

Shades and tints

Shades of #342D4E

#342D4E
(52,45,78)
#302947
(48,41,71)
#2C2540
(44,37,64)
#282139
(40,33,57)
#241D32
(36,29,50)
#20192B
(32,25,43)
#1C1524
(28,21,36)
#18111D
(24,17,29)
#140D16
(20,13,22)
#10090F
(16,9,15)
#0C0508
(12,5,8)
#000000
(0,0,0)

Tints of #342D4E

#342D4E
(52,45,78)
#46405E
(70,64,94)
#58536E
(88,83,110)
#6A667E
(106,102,126)
#7C798E
(124,121,142)
#8E8C9E
(142,140,158)
#A09FAE
(160,159,174)
#B2B2BE
(178,178,190)
#C4C5CE
(196,197,206)
#D6D8DE
(214,216,222)
#E8EBEE
(232,235,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #342D4E color. Also use rgb(52,45,78) instead hex code.

Text Font Color

.myTextColor { color: #342D4E; }

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

This text font color is #342D4E.

Background Color

.myBgColor { background-color: #342D4E; }

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

This div background color is #342D4E.

Border color

.myBorderColor { border: 1px solid #342D4E; }

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

This div border color is #342D4E.

Opacity

.myOpacity80 { color: #342D4E; opacity: 0.8; }

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

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

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

This text has shadow with #342D4E color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #342D4E.

Preview

Color preview on black background

This text has color #342D4E on black background.


Color preview on white background

This text has color #342D4E on white background.


Black color preview on #342D4E background

This text has black color on #342D4E background.


White color preview on #342D4E background

This text has white color on #342D4E background.


Related colors

Complementary color

Complementary color for #hex is #CBD2B1.


I love getcolorcode.com

Triadic colors

1 #4E342D and #2D4E34 with #342D4E are triadic colors.

2 #4E2D34 and #2D344E with #342D4E are triadic colors.