COLOR #342D48

HEX: #342D48 RGB: (52,45,72)

Color info

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

RGB color model

#342D48 color RGB value is (52,45,72).

RGB: (52,45,72) (20%, 18%, 28%)

RGB channels and saturation

R 52 of 255 = 20%
G 45 of 255 = 18%
B 72 of 255 = 28%

52
45
72

R + G + B ~ 22%. #342D48 is dark color.

Portions of RGB colors in percentages

R + G + B = 52 + 45 + 72 = 169 (100%)
R 52 of 169 ~ 30.77%
G 45 of 169 ~ 26.63%
B 72 of 169 ~ 42.6'%

%30.77
%26.63
%42.6

CMYK color model

#342D48 color CMYK value is (28,38,0,72).

  • cyan value is 27.78%
  • magenta value is 37.50%
  • yellow value is 0.00%
  • key color value is 71.76%

CMYK: (28,38,0,72)
C28M38Y0K72 (28%, 38%, 0%, 72%)
(0.28 / 0.38 / 0.00 / 0.72)

CMYK percentages

%27.78
%37.5
%0
%71.76

Codes

Color #342D48 in popluar color models

34 2D 48
RGB 52 45 72
HSL 256° 23.08% 22.94%
HSB/HSV 256° 37.50% 28.24%
CMYK 27.78% 37.50% 0.00%
71.76%

Color #342D48 in popluar number systems.

HEX 34 2D 48
Decimal 52 45 72
Binary 110100 101101 1001000
Octal 64 55 110

Shades and tints

Shades of #342D48

#342D48
(52,45,72)
#302942
(48,41,66)
#2C253C
(44,37,60)
#282136
(40,33,54)
#241D30
(36,29,48)
#20192A
(32,25,42)
#1C1524
(28,21,36)
#18111E
(24,17,30)
#140D18
(20,13,24)
#100912
(16,9,18)
#0C050C
(12,5,12)
#000000
(0,0,0)

Tints of #342D48

#342D48
(52,45,72)
#464058
(70,64,88)
#585368
(88,83,104)
#6A6678
(106,102,120)
#7C7988
(124,121,136)
#8E8C98
(142,140,152)
#A09FA8
(160,159,168)
#B2B2B8
(178,178,184)
#C4C5C8
(196,197,200)
#D6D8D8
(214,216,216)
#E8EBE8
(232,235,232)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #342D48; }

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

This text font color is #342D48.

Background Color

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

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

This div background color is #342D48.

Border color

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

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

This div border color is #342D48.

Opacity

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

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

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

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

This text has shadow with #342D48 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #342D48.

Preview

Color preview on black background

This text has color #342D48 on black background.


Color preview on white background

This text has color #342D48 on white background.


Black color preview on #342D48 background

This text has black color on #342D48 background.


White color preview on #342D48 background

This text has white color on #342D48 background.


Related colors

Complementary color

Complementary color for #hex is #CBD2B7.


I love getcolorcode.com

Triadic colors

1 #48342D and #2D4834 with #342D48 are triadic colors.

2 #482D34 and #2D3448 with #342D48 are triadic colors.