COLOR #342839

HEX: #342839 RGB: (52,40,57)

Color info

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

RGB color model

#342839 color RGB value is (52,40,57).

RGB: (52,40,57) (20%, 16%, 22%)

RGB channels and saturation

R 52 of 255 = 20%
G 40 of 255 = 16%
B 57 of 255 = 22%

52
40
57

R + G + B ~ 19%. #342839 is dark color.

Portions of RGB colors in percentages

R + G + B = 52 + 40 + 57 = 149 (100%)
R 52 of 149 ~ 34.9%
G 40 of 149 ~ 26.85%
B 57 of 149 ~ 38.26'%

%34.9
%26.85
%38.26

CMYK color model

#342839 color CMYK value is (9,30,0,78).

  • cyan value is 8.77%
  • magenta value is 29.82%
  • yellow value is 0.00%
  • key color value is 77.65%

CMYK: (9,30,0,78)
C9M30Y0K78 (9%, 30%, 0%, 78%)
(0.09 / 0.30 / 0.00 / 0.78)

CMYK percentages

%8.77
%29.82
%0
%77.65

Codes

Color #342839 in popluar color models

34 28 39
RGB 52 40 57
HSL 282° 17.53% 19.02%
HSB/HSV 282° 29.82% 22.35%
CMYK 8.77% 29.82% 0.00%
77.65%

Color #342839 in popluar number systems.

HEX 34 28 39
Decimal 52 40 57
Binary 110100 101000 111001
Octal 64 50 71

Shades and tints

Shades of #342839

#342839
(52,40,57)
#302534
(48,37,52)
#2C222F
(44,34,47)
#281F2A
(40,31,42)
#241C25
(36,28,37)
#201920
(32,25,32)
#1C161B
(28,22,27)
#181316
(24,19,22)
#141011
(20,16,17)
#100D0C
(16,13,12)
#0C0A07
(12,10,7)
#000000
(0,0,0)

Tints of #342839

#342839
(52,40,57)
#463B4B
(70,59,75)
#584E5D
(88,78,93)
#6A616F
(106,97,111)
#7C7481
(124,116,129)
#8E8793
(142,135,147)
#A09AA5
(160,154,165)
#B2ADB7
(178,173,183)
#C4C0C9
(196,192,201)
#D6D3DB
(214,211,219)
#E8E6ED
(232,230,237)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #342839 color. Also use rgb(52,40,57) instead hex code.

Text Font Color

.myTextColor { color: #342839; }

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

This text font color is #342839.

Background Color

.myBgColor { background-color: #342839; }

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

This div background color is #342839.

Border color

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

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

This div border color is #342839.

Opacity

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

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

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

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

This text has shadow with #342839 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #342839.

Preview

Color preview on black background

This text has color #342839 on black background.


Color preview on white background

This text has color #342839 on white background.


Black color preview on #342839 background

This text has black color on #342839 background.


White color preview on #342839 background

This text has white color on #342839 background.


Related colors

Complementary color

Complementary color for #hex is #CBD7C6.


I love getcolorcode.com

Triadic colors

1 #393428 and #283934 with #342839 are triadic colors.

2 #392834 and #283439 with #342839 are triadic colors.