COLOR #342B51

HEX: #342B51
RGB: (52,43,81)

Color info

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

RGB color model

#342B51 color RGB value is (52,43,81).

  • red value is 52;
  • green value is 43;
  • blue value is 81.
RGB:
(52,43,81)
(20%,17%,32%)

RGB channels and saturation

R 52 of 255 = 20%
G 43 of 255 = 17%
B 81 of 255 = 32%

52
43
81

R + G + B ~ 23%. #342B51 is dark color.

Portions of RGB colors in percentages

R + G + B =
52 + 43 + 81 = 176 (100%)
R 52 of 176 ~ 29.55%
G 43 of 176 ~ 24.43%
B 81 of 176 ~ 46.02%

%29.55
%24.43
%46.02

CMYK color model

#342B51 color CMYK value is (36,47,0,68).

  • cyan value is 35.80%
  • magenta value is 46.91%
  • yellow value is 0.00%
  • key color value is 68.24%
CMYK:
(36,47,0,68)
C36M47Y0K68 
(36%,47%,0%,68%)
(0.36/0.47/0.00/0.68)	

CMYK percentages

%35.8
%46.91
%0
%68.24

Codes

Color #342B51 in popluar color models

342B51
RGB524381
HSL254°30.65%24.31%
HSB/HSV254°46.91%31.76%
CMYK35.80%46.91%0.00%
68.24%

Color #342B51 in popluar number systems.

HEX342B51
Decimal524381
Binary1101001010111010001
Octal6453121

Shades and tints

Shades of #342B51

#342B51
(52,43,81)
#30284A
(48,40,74)
#2C2543
(44,37,67)
#28223C
(40,34,60)
#241F35
(36,31,53)
#201C2E
(32,28,46)
#1C1927
(28,25,39)
#181620
(24,22,32)
#141319
(20,19,25)
#101012
(16,16,18)
#0C0D0B
(12,13,11)
#000000
(0,0,0)

Tints of #342B51

#342B51
(52,43,81)
#463E60
(70,62,96)
#58516F
(88,81,111)
#6A647E
(106,100,126)
#7C778D
(124,119,141)
#8E8A9C
(142,138,156)
#A09DAB
(160,157,171)
#B2B0BA
(178,176,186)
#C4C3C9
(196,195,201)
#D6D6D8
(214,214,216)
#E8E9E7
(232,233,231)
#FFFFFF
(255,255,255)

CSS3 styles

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

Text Font Color

.myTextColor { color: #342B51; }

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

This text font color is #342B51.


Background Color

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

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

This div background color is #342B51.


Border color

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

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

This div border color is #342B51.


Opacity

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

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

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

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

This text has shadow with #342B51 color.

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

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

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


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

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

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


Div box shadow color

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

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

Preview

Color preview on black background

This text has color #342B51 on black background.


Color preview on white background

This text has color #342B51 on white background.



Black color preview on #342B51 background

This text has black color on #342B51 background.


White color preview on #342B51 background

This text has white color on #342B51 background.