COLOR #342A5E

HEX: #342A5E
RGB: (52,42,94)

Color info

#342A5E contains red, green and blue colors in about the same proportion. Web safe color of #342A5E is #333366 (or #336).

RGB color model

#342A5E color RGB value is (52,42,94).

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

RGB channels and saturation

R 52 of 255 = 20%
G 42 of 255 = 16%
B 94 of 255 = 37%

52
42
94

R + G + B ~ 24%. #342A5E is dark color.

Portions of RGB colors in percentages

R + G + B =
52 + 42 + 94 = 188 (100%)
R 52 of 188 ~ 27.66%
G 42 of 188 ~ 22.34%
B 94 of 188 ~ 50%

%27.66
%22.34
%50

CMYK color model

#342A5E color CMYK value is (45,55,0,63).

  • cyan value is 44.68%
  • magenta value is 55.32%
  • yellow value is 0.00%
  • key color value is 63.14%
CMYK:
(45,55,0,63)
C45M55Y0K63 
(45%,55%,0%,63%)
(0.45/0.55/0.00/0.63)	

CMYK percentages

%44.68
%55.32
%0
%63.14

Codes

Color #342A5E in popluar color models

342A5E
RGB524294
HSL252°38.24%26.67%
HSB/HSV252°55.32%36.86%
CMYK44.68%55.32%0.00%
63.14%

Color #342A5E in popluar number systems.

HEX342A5E
Decimal524294
Binary1101001010101011110
Octal6452136

Shades and tints

Shades of #342A5E

#342A5E
(52,42,94)
#302756
(48,39,86)
#2C244E
(44,36,78)
#282146
(40,33,70)
#241E3E
(36,30,62)
#201B36
(32,27,54)
#1C182E
(28,24,46)
#181526
(24,21,38)
#14121E
(20,18,30)
#100F16
(16,15,22)
#0C0C0E
(12,12,14)
#000000
(0,0,0)

Tints of #342A5E

#342A5E
(52,42,94)
#463D6C
(70,61,108)
#58507A
(88,80,122)
#6A6388
(106,99,136)
#7C7696
(124,118,150)
#8E89A4
(142,137,164)
#A09CB2
(160,156,178)
#B2AFC0
(178,175,192)
#C4C2CE
(196,194,206)
#D6D5DC
(214,213,220)
#E8E8EA
(232,232,234)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #342A5E; }

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

This text font color is #342A5E.


Background Color

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

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

This div background color is #342A5E.


Border color

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

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

This div border color is #342A5E.


Opacity

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

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

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

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

This text has shadow with #342A5E color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #342A5E on black background.


Color preview on white background

This text has color #342A5E on white background.



Black color preview on #342A5E background

This text has black color on #342A5E background.


White color preview on #342A5E background

This text has white color on #342A5E background.