COLOR #342676

HEX: #342676
RGB: (52,38,118)

Color info

#342676 contains mainly blue color. Web safe color of #342676 is #333366 (or #336).

RGB color model

#342676 color RGB value is (52,38,118).

  • red value is 52;
  • green value is 38;
  • blue value is 118.
RGB:
(52,38,118)
(20%,15%,46%)

RGB channels and saturation

R 52 of 255 = 20%
G 38 of 255 = 15%
B 118 of 255 = 46%

52
38
118

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

Portions of RGB colors in percentages

R + G + B =
52 + 38 + 118 = 208 (100%)
R 52 of 208 ~ 25%
G 38 of 208 ~ 18.27%
B 118 of 208 ~ 56.73%

%25
%18.27
%56.73

CMYK color model

#342676 color CMYK value is (56,68,0,54).

  • cyan value is 55.93%
  • magenta value is 67.80%
  • yellow value is 0.00%
  • key color value is 53.73%
CMYK:
(56,68,0,54)
C56M68Y0K54 
(56%,68%,0%,54%)
(0.56/0.68/0.00/0.54)	

CMYK percentages

%55.93
%67.8
%0
%53.73

Codes

Color #342676 in popluar color models

342676
RGB5238118
HSL251°51.28%30.59%
HSB/HSV251°67.80%46.27%
CMYK55.93%67.80%0.00%
53.73%

Color #342676 in popluar number systems.

HEX342676
Decimal5238118
Binary1101001001101110110
Octal6446166

Shades and tints

Shades of #342676

#342676
(52,38,118)
#30236C
(48,35,108)
#2C2062
(44,32,98)
#281D58
(40,29,88)
#241A4E
(36,26,78)
#201744
(32,23,68)
#1C143A
(28,20,58)
#181130
(24,17,48)
#140E26
(20,14,38)
#100B1C
(16,11,28)
#0C0812
(12,8,18)
#000000
(0,0,0)

Tints of #342676

#342676
(52,38,118)
#463982
(70,57,130)
#584C8E
(88,76,142)
#6A5F9A
(106,95,154)
#7C72A6
(124,114,166)
#8E85B2
(142,133,178)
#A098BE
(160,152,190)
#B2ABCA
(178,171,202)
#C4BED6
(196,190,214)
#D6D1E2
(214,209,226)
#E8E4EE
(232,228,238)
#FFFFFF
(255,255,255)

CSS3 styles

Examples of css and html codes for elements with #342676 color. Also use rgb(52,38,118) instead hex code.

Text Font Color

.myTextColor { color: #342676; }

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

This text font color is #342676.


Background Color

.myBgColor { background-color: #342676; }

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

This div background color is #342676.


Border color

.myBorderColor { border: 1px solid #342676; }

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

This div border color is #342676.


Opacity

.myOpacity80 { color: #342676; opacity: 0.8; }

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

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

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

This text has shadow with #342676 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #342676 on black background.


Color preview on white background

This text has color #342676 on white background.



Black color preview on #342676 background

This text has black color on #342676 background.


White color preview on #342676 background

This text has white color on #342676 background.