COLOR #342E6A

HEX: #342E6A RGB: (52,46,106)

Color info

#342E6A contains mainly red and blue colors. Web safe color of #342E6A is #333366 (or #336).

RGB color model

#342E6A color RGB value is (52,46,106).

RGB: (52,46,106) (20%, 18%, 42%)

RGB channels and saturation

R 52 of 255 = 20%
G 46 of 255 = 18%
B 106 of 255 = 42%

52
46
106

R + G + B ~ 27%. #342E6A is quite dark color.

Portions of RGB colors in percentages

R + G + B = 52 + 46 + 106 = 204 (100%)
R 52 of 204 ~ 25.49%
G 46 of 204 ~ 22.55%
B 106 of 204 ~ 51.96'%

%25.49
%22.55
%51.96

CMYK color model

#342E6A color CMYK value is (51,57,0,58).

  • cyan value is 50.94%
  • magenta value is 56.60%
  • yellow value is 0.00%
  • key color value is 58.43%
CMYK: (51,57,0,58) C51M57Y0K58 (51%,57%,0%,58%) (0.51/0.57/0.00/0.58) 

CMYK percentages

%50.94
%56.6
%0
%58.43

Codes

Color #342E6A in popluar color models

34 2E 6A
RGB 52 46 106
HSL 246° 39.47% 29.80%
HSB/HSV 246° 56.60% 41.57%
CMYK 50.94% 56.60% 0.00%
58.43%

Color #342E6A in popluar number systems.

HEX 34 2E 6A
Decimal 52 46 106
Binary 110100 101110 1101010
Octal 64 56 152

Shades and tints

Shades of #342E6A

#342E6A
(52,46,106)
#302A61
(48,42,97)
#2C2658
(44,38,88)
#28224F
(40,34,79)
#241E46
(36,30,70)
#201A3D
(32,26,61)
#1C1634
(28,22,52)
#18122B
(24,18,43)
#140E22
(20,14,34)
#100A19
(16,10,25)
#0C0610
(12,6,16)
#000000
(0,0,0)

Tints of #342E6A

#342E6A
(52,46,106)
#464177
(70,65,119)
#585484
(88,84,132)
#6A6791
(106,103,145)
#7C7A9E
(124,122,158)
#8E8DAB
(142,141,171)
#A0A0B8
(160,160,184)
#B2B3C5
(178,179,197)
#C4C6D2
(196,198,210)
#D6D9DF
(214,217,223)
#E8ECEC
(232,236,236)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #342E6A color. Also use rgb(52,46,106) instead hex code.

Text Font Color

.myTextColor { color: #342E6A; }

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

This text font color is #342E6A.

Background Color

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

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

This div background color is #342E6A.

Border color

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

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

This div border color is #342E6A.

Opacity

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

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

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

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

This text has shadow with #342E6A color.


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

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

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


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

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

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

Div box shadow color

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

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

This div box has shadow with color #342E6A.

Preview

Color preview on black background

This text has color #342E6A on black background.


Color preview on white background

This text has color #342E6A on white background.


Black color preview on #342E6A background

This text has black color on #342E6A background.


White color preview on #342E6A background

This text has white color on #342E6A background.


Related colors

Complementary color

Complementary color for #hex is #CBD195.


I love getcolorcode.com

Triadic colors

1 #6A342E and #2E6A34 with #342E6A are triadic colors.

2 #6A2E34 and #2E346A with #342E6A are triadic colors.