COLOR #342A6A

HEX: #342A6A
RGB: (52,42,106)

Color info

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

RGB color model

#342A6A color RGB value is (52,42,106).

  • red value is 52;
  • green value is 42;
  • blue value is 106.
RGB:
(52,42,106)
(20%,16%,42%)

RGB channels and saturation

R 52 of 255 = 20%
G 42 of 255 = 16%
B 106 of 255 = 42%

52
42
106

R + G + B ~ 26%. #342A6A is quite dark color.

Portions of RGB colors in percentages

R + G + B =
52 + 42 + 106 = 200 (100%)
R 52 of 200 ~ 26%
G 42 of 200 ~ 21%
B 106 of 200 ~ 53%

%26
%21
%53

CMYK color model

#342A6A color CMYK value is (51,60,0,58).

  • cyan value is 50.94%
  • magenta value is 60.38%
  • yellow value is 0.00%
  • key color value is 58.43%
CMYK:
(51,60,0,58)
C51M60Y0K58 
(51%,60%,0%,58%)
(0.51/0.60/0.00/0.58)	

CMYK percentages

%50.94
%60.38
%0
%58.43

Codes

Color #342A6A in popluar color models

342A6A
RGB5242106
HSL249°43.24%29.02%
HSB/HSV249°60.38%41.57%
CMYK50.94%60.38%0.00%
58.43%

Color #342A6A in popluar number systems.

HEX342A6A
Decimal5242106
Binary1101001010101101010
Octal6452152

Shades and tints

Shades of #342A6A

#342A6A
(52,42,106)
#302761
(48,39,97)
#2C2458
(44,36,88)
#28214F
(40,33,79)
#241E46
(36,30,70)
#201B3D
(32,27,61)
#1C1834
(28,24,52)
#18152B
(24,21,43)
#141222
(20,18,34)
#100F19
(16,15,25)
#0C0C10
(12,12,16)
#000000
(0,0,0)

Tints of #342A6A

#342A6A
(52,42,106)
#463D77
(70,61,119)
#585084
(88,80,132)
#6A6391
(106,99,145)
#7C769E
(124,118,158)
#8E89AB
(142,137,171)
#A09CB8
(160,156,184)
#B2AFC5
(178,175,197)
#C4C2D2
(196,194,210)
#D6D5DF
(214,213,223)
#E8E8EC
(232,232,236)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #342A6A; }

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

This text font color is #342A6A.


Background Color

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

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

This div background color is #342A6A.


Border color

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

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

This div border color is #342A6A.


Opacity

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

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

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

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

This text has shadow with #342A6A color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #342A6A on black background.


Color preview on white background

This text has color #342A6A on white background.



Black color preview on #342A6A background

This text has black color on #342A6A background.


White color preview on #342A6A background

This text has white color on #342A6A background.