COLOR #342B46

HEX: #342B46 RGB: (52,43,70)

Color info

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

RGB color model

#342B46 color RGB value is (52,43,70).

RGB: (52,43,70) (20%, 17%, 27%)

RGB channels and saturation

R 52 of 255 = 20%
G 43 of 255 = 17%
B 70 of 255 = 27%

52
43
70

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

Portions of RGB colors in percentages

R + G + B = 52 + 43 + 70 = 165 (100%)
R 52 of 165 ~ 31.52%
G 43 of 165 ~ 26.06%
B 70 of 165 ~ 42.42'%

%31.52
%26.06
%42.42

CMYK color model

#342B46 color CMYK value is (26,39,0,73).

  • cyan value is 25.71%
  • magenta value is 38.57%
  • yellow value is 0.00%
  • key color value is 72.55%

CMYK: (26,39,0,73)
C26M39Y0K73 (26%, 39%, 0%, 73%)
(0.26 / 0.39 / 0.00 / 0.73)

CMYK percentages

%25.71
%38.57
%0
%72.55

Codes

Color #342B46 in popluar color models

34 2B 46
RGB 52 43 70
HSL 260° 23.89% 22.16%
HSB/HSV 260° 38.57% 27.45%
CMYK 25.71% 38.57% 0.00%
72.55%

Color #342B46 in popluar number systems.

HEX 34 2B 46
Decimal 52 43 70
Binary 110100 101011 1000110
Octal 64 53 106

Shades and tints

Shades of #342B46

#342B46
(52,43,70)
#302840
(48,40,64)
#2C253A
(44,37,58)
#282234
(40,34,52)
#241F2E
(36,31,46)
#201C28
(32,28,40)
#1C1922
(28,25,34)
#18161C
(24,22,28)
#141316
(20,19,22)
#101010
(16,16,16)
#0C0D0A
(12,13,10)
#000000
(0,0,0)

Tints of #342B46

#342B46
(52,43,70)
#463E56
(70,62,86)
#585166
(88,81,102)
#6A6476
(106,100,118)
#7C7786
(124,119,134)
#8E8A96
(142,138,150)
#A09DA6
(160,157,166)
#B2B0B6
(178,176,182)
#C4C3C6
(196,195,198)
#D6D6D6
(214,214,214)
#E8E9E6
(232,233,230)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #342B46 color. Also use rgb(52,43,70) instead hex code.

Text Font Color

.myTextColor { color: #342B46; }

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

This text font color is #342B46.

Background Color

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

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

This div background color is #342B46.

Border color

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

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

This div border color is #342B46.

Opacity

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

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

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

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

This text has shadow with #342B46 color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #342B46.

Preview

Color preview on black background

This text has color #342B46 on black background.


Color preview on white background

This text has color #342B46 on white background.


Black color preview on #342B46 background

This text has black color on #342B46 background.


White color preview on #342B46 background

This text has white color on #342B46 background.


Related colors

Complementary color

Complementary color for #hex is #CBD4B9.


I love getcolorcode.com

Triadic colors

1 #46342B and #2B4634 with #342B46 are triadic colors.

2 #462B34 and #2B3446 with #342B46 are triadic colors.